LiFeDataSource

Inheritance: java.lang.Object, com.aspose.psd.fileformats.psd.layers.layerresources.linkresources.LinkDataSource

public class LiFeDataSource extends LinkDataSource

Defines the LnkeDataSource class that contains information about external linked file. This is part of PSD File Format Manipulation API that helps to modify Adobe® Photoshop® files

Constructors

ConstructorDescription
LiFeDataSource()Initializes a new instance of the LiFeDataSource class.
LiFeDataSource(int version, UUID uniqueId, String originalFileName, String fileType, String fileCreator)Initializes a new instance of the LiFeDataSource class.

Fields

FieldDescription
DescriptorVersion_internalizedThe descriptor version.
LatestVersion_internalizedThe latest available version of the link data source
UnexpectedLinkDataSourceTypeValue_internalizedThe unexpected link data source type value
ZeroChar_internalizedThe zero character

Methods

MethodDescription
create_internalized(int version, System.Guid uniqueId, String originalFileName, String fileType, String fileCreator)
equals(Object arg0)
getAdobeStockId()Gets or sets the graphics library AdobeStockId, for Adobe® Photoshop® CC Libraries.
getAdobeStockLicenseState()Gets the state of the adobe stock license if available, for Adobe® Photoshop® CC libraries.
getAssetLockedState()Gets or sets a value indicating whether the PSD asset is locked.
getAssetModTime()Gets or sets the asset modified time, for Adobe® Photoshop® \u0421\u0421 Libraries assets.
getChildDocId()Gets or sets the child document identifier in the liFE or liFD data source of the Lnk2 / LnkE Adobe® Photoshop® resource.
getClass()
getCompId()Gets or sets the ID of the currently selected comp for the child document, which will be -1 if none are selected.
getCompInfoKeyName()
getDataLength_Property_internalized()Gets the length of additional data.
getDataLength_internalized()Gets the length of the link source data.
getDate()Gets or sets the last write date and time of the external file in the LiFE data source of the PSD LnkE resource.
getDate_internalized()
getElementName()Gets or sets the graphics library element name, for Adobe® Photoshop® CC Libraries.
getElementRef()Gets or sets the graphics library element reference, for Adobe® Photoshop® CC Libraries.
getFileCreator()Gets or sets the file creator in the PSD format LnkE / Lnk2 resource.
getFileName()Gets or sets the name of the external or embedded file in the PSD link resource .
getFileSize()Gets or sets the size of the external file in the LiFE data source of the PSD LnkE resource.
getFileType()Gets or sets the type of the embedded or external file which Adobe® Photoshop® Lnk2 / LnkE resource contains or links.
getFullPath()Gets or sets the full path of the external file in the LiFE data source of the PSD LnkE resource.
getLength()Gets the link data source length in bytes.
getOriginalCompId()Gets the original ID of the currently selected Comp for the child document, which will be -1 if none are selected.
getOriginalFileName()Gets the original file name of the data source in the Adobe® Photoshop® global link resource.
getRelativePath()Gets or sets the relative path of the external file in the LiFE data source of the PSD LnkE resource.
getType()Gets the Adobe® Photoshop® global link data source type that can be one of the following or none: The embedded linked file liFD that corresponds to the PSD Lnk2Resource The external linked file liFE that corresponds to the PSD LnkeResource The linked file alias liFA
getUniqueId()Gets the global unique identifier of the data source in the PSD link resource.
getUniqueId_internalized()
getVersion()Gets the version of the data source in the PSD LnkE / Lnk2 resource.
hasFileOpenDescriptor()Gets or sets a value indicating whether this link data source has the file open descriptor: CompId and OriginalCompId.
hashCode()
isLibraryLink()Gets a value indicating whether this PSD link data source links to the Adobe® Photoshop® \u0421\u0421 Library item.
notify()
notifyAll()
save_internalized(StreamContainer streamContainer)Saves the link data source block data.
setAdobeStockId(String value)Gets or sets the graphics library AdobeStockId, for Adobe® Photoshop® CC Libraries.
setAssetLockedState(boolean value)Gets or sets a value indicating whether the PSD asset is locked.
setAssetModTime(double value)Gets or sets the asset modified time, for Adobe® Photoshop® \u0421\u0421 Libraries assets.
setChildDocId(String value)Gets or sets the child document identifier in the liFE or liFD data source of the Lnk2 / LnkE Adobe® Photoshop® resource.
setCompId(int value)Gets or sets the ID of the currently selected comp for the child document, which will be -1 if none are selected.
setDate(Date value)Gets or sets the last write date and time of the external file in the LiFE data source of the PSD LnkE resource.
setDate_internalized(System.DateTime value)
setElementName(String value)Gets or sets the graphics library element name, for Adobe® Photoshop® CC Libraries.
setElementRef(String value)Gets or sets the graphics library element reference, for Adobe® Photoshop® CC Libraries.
setFileCreator(String value)Gets or sets the file creator in the PSD format LnkE / Lnk2 resource.
setFileName(String value)Gets or sets the name of the external or embedded file in the PSD link resource .
setFileOpenDescriptor(boolean value)Gets or sets a value indicating whether this link data source has the file open descriptor: CompId and OriginalCompId.
setFileSize(long value)Gets or sets the size of the external file in the LiFE data source of the PSD LnkE resource.
setFileType(String value)Gets or sets the type of the embedded or external file which Adobe® Photoshop® Lnk2 / LnkE resource contains or links.
setFullPath(String value)Gets or sets the full path of the external file in the LiFE data source of the PSD LnkE resource.
setLibraryLink(boolean value)Gets a value indicating whether this PSD link data source links to the Adobe® Photoshop® \u0421\u0421 Library item.
setOriginalCompId(int value)Gets the original ID of the currently selected Comp for the child document, which will be -1 if none are selected.
setOriginalFileName(String value)Gets the original file name of the data source in the Adobe® Photoshop® global link resource.
setPropertyValueByTypeStructure_internalized(OSTypeStructure structure)Sets the property value by type structure.
setRelativePath(String value)Gets or sets the relative path of the external file in the LiFE data source of the PSD LnkE resource.
setUniqueId(UUID uuid)Gets the global unique identifier of the data source in the PSD link resource.
setUniqueId_internalized(System.Guid value)
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

LiFeDataSource()

public LiFeDataSource()

Initializes a new instance of the LiFeDataSource class.

LiFeDataSource(int version, UUID uniqueId, String originalFileName, String fileType, String fileCreator)

public LiFeDataSource(int version, UUID uniqueId, String originalFileName, String fileType, String fileCreator)

Initializes a new instance of the LiFeDataSource class.

Parameters:

ParameterTypeDescription
versionintThe version.
uniqueIdjava.util.UUIDThe unique identifier.
originalFileNamejava.lang.StringName of the original file.
fileTypejava.lang.StringType of the file.
fileCreatorjava.lang.StringThe file creator.

DescriptorVersion_internalized

public static final int DescriptorVersion_internalized

The descriptor version.

LatestVersion_internalized

public static final int LatestVersion_internalized

The latest available version of the link data source

UnexpectedLinkDataSourceTypeValue_internalized

public static final String UnexpectedLinkDataSourceTypeValue_internalized

The unexpected link data source type value

ZeroChar_internalized

public static final char ZeroChar_internalized

The zero character

create_internalized(int version, System.Guid uniqueId, String originalFileName, String fileType, String fileCreator)

public static LiFeDataSource create_internalized(int version, System.Guid uniqueId, String originalFileName, String fileType, String fileCreator)

Parameters:

ParameterTypeDescription
versionint
uniqueIdcom.aspose.ms.System.Guid
originalFileNamejava.lang.String
fileTypejava.lang.String
fileCreatorjava.lang.String

Returns: LiFeDataSource

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getAdobeStockId()

public final String getAdobeStockId()

Gets or sets the graphics library AdobeStockId, for Adobe® Photoshop® CC Libraries.

Returns: java.lang.String

getAdobeStockLicenseState()

public final String getAdobeStockLicenseState()

Gets the state of the adobe stock license if available, for Adobe® Photoshop® CC libraries.

Value: The state of the adobe stock license or empty string if it is not available.

Returns: java.lang.String

getAssetLockedState()

public final boolean getAssetLockedState()

Gets or sets a value indicating whether the PSD asset is locked. The asset locked state, for Adobe® Photoshop® \u0421\u0421 Libraries assets.

Returns: boolean

getAssetModTime()

public final double getAssetModTime()

Gets or sets the asset modified time, for Adobe® Photoshop® \u0421\u0421 Libraries assets.

Returns: double

getChildDocId()

public final String getChildDocId()

Gets or sets the child document identifier in the liFE or liFD data source of the Lnk2 / LnkE Adobe® Photoshop® resource.

Returns: java.lang.String

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCompId()

public final int getCompId()

Gets or sets the ID of the currently selected comp for the child document, which will be -1 if none are selected. Comps are compositions of a page layout which designers can create. Using layer comps, you can create, manage, and view multiple versions of a layout in a single Adobe® Photoshop® file. A layer comp is a snapshot of a state of the Layers panel. Layer comps save three types of layer options but this property gets the Layer Comp selection identifier for Smart Objects. Layer comps in Smart Objects

Returns: int

getCompInfoKeyName()

public static String getCompInfoKeyName()

Returns: java.lang.String

getDataLength_Property_internalized()

public int getDataLength_Property_internalized()

Gets the length of additional data.

Value: The length of the data.

Returns: int

getDataLength_internalized()

public final long getDataLength_internalized()

Gets the length of the link source data.

Returns: long - The source data length.

getDate()

public final Date getDate()

Gets or sets the last write date and time of the external file in the LiFE data source of the PSD LnkE resource.

Returns: java.util.Date

getDate_internalized()

public final System.DateTime getDate_internalized()

Returns: com.aspose.ms.System.DateTime

getElementName()

public final String getElementName()

Gets or sets the graphics library element name, for Adobe® Photoshop® CC Libraries.

Returns: java.lang.String

getElementRef()

public final String getElementRef()

Gets or sets the graphics library element reference, for Adobe® Photoshop® CC Libraries.

Returns: java.lang.String

getFileCreator()

public final String getFileCreator()

Gets or sets the file creator in the PSD format LnkE / Lnk2 resource.

Returns: java.lang.String

getFileName()

public final String getFileName()

Gets or sets the name of the external or embedded file in the PSD link resource .

Value: The name of the external or embedded file.

Returns: java.lang.String

getFileSize()

public final long getFileSize()

Gets or sets the size of the external file in the LiFE data source of the PSD LnkE resource.

Returns: long

getFileType()

public final String getFileType()

Gets or sets the type of the embedded or external file which Adobe® Photoshop® Lnk2 / LnkE resource contains or links.

Returns: java.lang.String

getFullPath()

public final String getFullPath()

Gets or sets the full path of the external file in the LiFE data source of the PSD LnkE resource.

Returns: java.lang.String

getLength()

public final long getLength()

Gets the link data source length in bytes.

Returns: long

getOriginalCompId()

public final int getOriginalCompId()

Gets the original ID of the currently selected Comp for the child document, which will be -1 if none are selected. This property gets the original layer Comp selection identifier for Smart Objects. Layer comps in Smart Objects

Returns: int

getOriginalFileName()

public final String getOriginalFileName()

Gets the original file name of the data source in the Adobe® Photoshop® global link resource.

Returns: java.lang.String

getRelativePath()

public final String getRelativePath()

Gets or sets the relative path of the external file in the LiFE data source of the PSD LnkE resource.

Returns: java.lang.String

getType()

public final int getType()

Gets the Adobe® Photoshop® global link data source type that can be one of the following or none: The embedded linked file liFD that corresponds to the PSD Lnk2Resource The external linked file liFE that corresponds to the PSD LnkeResource The linked file alias liFA

Value: The PSD link data source type.

Returns: int

getUniqueId()

public final UUID getUniqueId()

Gets the global unique identifier of the data source in the PSD link resource.

Returns: java.util.UUID

getUniqueId_internalized()

public final System.Guid getUniqueId_internalized()

Returns: com.aspose.ms.System.Guid

getVersion()

public final int getVersion()

Gets the version of the data source in the PSD LnkE / Lnk2 resource.

Returns: int

hasFileOpenDescriptor()

public final boolean hasFileOpenDescriptor()

Gets or sets a value indicating whether this link data source has the file open descriptor: CompId and OriginalCompId.

Value: true if this instance has file open descriptor; otherwise, false .

Returns: boolean

hashCode()

public native int hashCode()

Returns: int

public final boolean isLibraryLink()

Gets a value indicating whether this PSD link data source links to the Adobe® Photoshop® \u0421\u0421 Library item.

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

save_internalized(StreamContainer streamContainer)

public final void save_internalized(StreamContainer streamContainer)

Saves the link data source block data.

Parameters:

ParameterTypeDescription
streamContainerStreamContainerThe stream container to save to.

setAdobeStockId(String value)

public final void setAdobeStockId(String value)

Gets or sets the graphics library AdobeStockId, for Adobe® Photoshop® CC Libraries.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setAssetLockedState(boolean value)

public final void setAssetLockedState(boolean value)

Gets or sets a value indicating whether the PSD asset is locked. The asset locked state, for Adobe® Photoshop® \u0421\u0421 Libraries assets.

Parameters:

ParameterTypeDescription
valueboolean

setAssetModTime(double value)

public final void setAssetModTime(double value)

Gets or sets the asset modified time, for Adobe® Photoshop® \u0421\u0421 Libraries assets.

Parameters:

ParameterTypeDescription
valuedouble

setChildDocId(String value)

public final void setChildDocId(String value)

Gets or sets the child document identifier in the liFE or liFD data source of the Lnk2 / LnkE Adobe® Photoshop® resource.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setCompId(int value)

public final void setCompId(int value)

Gets or sets the ID of the currently selected comp for the child document, which will be -1 if none are selected. Comps are compositions of a page layout which designers can create. Using layer comps, you can create, manage, and view multiple versions of a layout in a single Adobe® Photoshop® file. A layer comp is a snapshot of a state of the Layers panel. Layer comps save three types of layer options but this property gets the Layer Comp selection identifier for Smart Objects. Layer comps in Smart Objects

Parameters:

ParameterTypeDescription
valueint

setDate(Date value)

public final void setDate(Date value)

Gets or sets the last write date and time of the external file in the LiFE data source of the PSD LnkE resource.

Parameters:

ParameterTypeDescription
valuejava.util.Date

setDate_internalized(System.DateTime value)

public final void setDate_internalized(System.DateTime value)

Parameters:

ParameterTypeDescription
valuecom.aspose.ms.System.DateTime

setElementName(String value)

public final void setElementName(String value)

Gets or sets the graphics library element name, for Adobe® Photoshop® CC Libraries.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setElementRef(String value)

public final void setElementRef(String value)

Gets or sets the graphics library element reference, for Adobe® Photoshop® CC Libraries.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setFileCreator(String value)

public final void setFileCreator(String value)

Gets or sets the file creator in the PSD format LnkE / Lnk2 resource.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setFileName(String value)

public final void setFileName(String value)

Gets or sets the name of the external or embedded file in the PSD link resource .

Value: The name of the external or embedded file.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setFileOpenDescriptor(boolean value)

public final void setFileOpenDescriptor(boolean value)

Gets or sets a value indicating whether this link data source has the file open descriptor: CompId and OriginalCompId.

Value: true if this instance has file open descriptor; otherwise, false .

Parameters:

ParameterTypeDescription
valueboolean

setFileSize(long value)

public final void setFileSize(long value)

Gets or sets the size of the external file in the LiFE data source of the PSD LnkE resource.

Parameters:

ParameterTypeDescription
valuelong

setFileType(String value)

public final void setFileType(String value)

Gets or sets the type of the embedded or external file which Adobe® Photoshop® Lnk2 / LnkE resource contains or links.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setFullPath(String value)

public final void setFullPath(String value)

Gets or sets the full path of the external file in the LiFE data source of the PSD LnkE resource.

Parameters:

ParameterTypeDescription
valuejava.lang.String
public final void setLibraryLink(boolean value)

Gets a value indicating whether this PSD link data source links to the Adobe® Photoshop® \u0421\u0421 Library item.

Parameters:

ParameterTypeDescription
valueboolean

setOriginalCompId(int value)

public final void setOriginalCompId(int value)

Gets the original ID of the currently selected Comp for the child document, which will be -1 if none are selected. This property gets the original layer Comp selection identifier for Smart Objects. Layer comps in Smart Objects

Parameters:

ParameterTypeDescription
valueint

setOriginalFileName(String value)

public final void setOriginalFileName(String value)

Gets the original file name of the data source in the Adobe® Photoshop® global link resource.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setPropertyValueByTypeStructure_internalized(OSTypeStructure structure)

public final void setPropertyValueByTypeStructure_internalized(OSTypeStructure structure)

Sets the property value by type structure.

Parameters:

ParameterTypeDescription
structureOSTypeStructureThe structure.

setRelativePath(String value)

public final void setRelativePath(String value)

Gets or sets the relative path of the external file in the LiFE data source of the PSD LnkE resource.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setUniqueId(UUID uuid)

public final void setUniqueId(UUID uuid)

Gets the global unique identifier of the data source in the PSD link resource.

Parameters:

ParameterTypeDescription
uuidjava.util.UUID

setUniqueId_internalized(System.Guid value)

public final void setUniqueId_internalized(System.Guid value)

Parameters:

ParameterTypeDescription
valuecom.aspose.ms.System.Guid

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int