LinkDataSource
Inheritance: java.lang.Object
public abstract class LinkDataSource
Defines the LinkDataSource class that contains information about a linked file or an asset in the PSD file.
Fields
Field | Description |
---|---|
DescriptorVersion_internalized | The descriptor version. |
LatestVersion_internalized | The latest available version of the link data source |
UnexpectedLinkDataSourceTypeValue_internalized | The unexpected link data source type value |
ZeroChar_internalized | The zero character |
Methods
Method | Description |
---|---|
equals(Object arg0) | |
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. |
getFileCreator() | Gets or sets the file creator in the PSD format LnkE / Lnk2 resource. |
getFileType() | Gets or sets the type of the embedded or external file which Adobe® Photoshop® Lnk2 / LnkE resource contains or links. |
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. |
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. |
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. |
setFileCreator(String value) | Gets or sets the file creator in the PSD format LnkE / Lnk2 resource. |
setFileOpenDescriptor(boolean value) | Gets or sets a value indicating whether this link data source has the file open descriptor: CompId and OriginalCompId. |
setFileType(String value) | Gets or sets the type of the embedded or external file which Adobe® Photoshop® Lnk2 / LnkE resource contains or links. |
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. |
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) |
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
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
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.
getFileCreator()
public final String getFileCreator()
Gets or sets the file creator in the PSD format LnkE / Lnk2 resource.
Returns: java.lang.String
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
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
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
isLibraryLink()
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:
Parameter | Type | Description |
---|---|---|
streamContainer | StreamContainer | The stream container to save to. |
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:
Parameter | Type | Description |
---|---|---|
value | boolean |
setAssetModTime(double value)
public final void setAssetModTime(double value)
Gets or sets the asset modified time, for Adobe® Photoshop® \u0421\u0421 Libraries assets.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
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:
Parameter | Type | Description |
---|---|---|
value | java.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:
Parameter | Type | Description |
---|---|---|
value | int |
setFileCreator(String value)
public final void setFileCreator(String value)
Gets or sets the file creator in the PSD format LnkE / Lnk2 resource.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.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:
Parameter | Type | Description |
---|---|---|
value | boolean |
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:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setLibraryLink(boolean value)
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:
Parameter | Type | Description |
---|---|---|
value | boolean |
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:
Parameter | Type | Description |
---|---|---|
value | int |
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:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setPropertyValueByTypeStructure_internalized(OSTypeStructure structure)
public final void setPropertyValueByTypeStructure_internalized(OSTypeStructure structure)
Sets the property value by type structure.
Parameters:
Parameter | Type | Description |
---|---|---|
structure | OSTypeStructure | The structure. |
setUniqueId(UUID uuid)
public final void setUniqueId(UUID uuid)
Gets the global unique identifier of the data source in the PSD link resource.
Parameters:
Parameter | Type | Description |
---|---|---|
uuid | java.util.UUID |
setUniqueId_internalized(System.Guid value)
public final void setUniqueId_internalized(System.Guid value)
Parameters:
Parameter | Type | Description |
---|---|---|
value | com.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:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |