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
Constructor and Description |
---|
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. |
Modifier and Type | Method and Description |
---|---|
String |
getAdobeStockId()
Gets or sets the graphics library AdobeStockId, for Adobe® Photoshop® CC Libraries.
|
String |
getAdobeStockLicenseState()
Gets the state of the adobe stock license if available, for Adobe® Photoshop® CC libraries.
|
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.
|
String |
getElementName()
Gets or sets the graphics library element name, for Adobe® Photoshop® CC Libraries.
|
String |
getElementRef()
Gets or sets the graphics library element reference, for Adobe® Photoshop® CC Libraries.
|
String |
getFileName()
Gets or sets the name of the external or embedded file in the PSD link resource .
|
long |
getFileSize()
Gets or sets the size of the external file in the LiFE data source of the PSD LnkE resource.
|
String |
getFullPath()
Gets or sets the full path of the external file in the LiFE data source of the PSD LnkE resource.
|
String |
getRelativePath()
Gets or sets the relative path of the external file in the LiFE data source of the PSD LnkE resource.
|
void |
setAdobeStockId(String value)
Gets or sets the graphics library AdobeStockId, for Adobe® Photoshop® CC Libraries.
|
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.
|
void |
setElementName(String value)
Gets or sets the graphics library element name, for Adobe® Photoshop® CC Libraries.
|
void |
setElementRef(String value)
Gets or sets the graphics library element reference, for Adobe® Photoshop® CC Libraries.
|
void |
setFileName(String value)
Gets or sets the name of the external or embedded file in the PSD link resource .
|
void |
setFileSize(long value)
Gets or sets the size of the external file in the LiFE data source of the PSD LnkE resource.
|
void |
setFullPath(String value)
Gets or sets the full path of the external file in the LiFE data source of the PSD LnkE resource.
|
void |
setRelativePath(String value)
Gets or sets the relative path of the external file in the LiFE data source of the PSD LnkE resource.
|
getAssetLockedState, getAssetModTime, getChildDocId, getCompId, getCompInfoKeyName, getFileCreator, getFileType, getLength, getOriginalCompId, getOriginalFileName, getType, getUniqueId, getVersion, hasFileOpenDescriptor, isLibraryLink, setAssetLockedState, setAssetModTime, setChildDocId, setCompId, setFileCreator, setFileOpenDescriptor, setFileType, setLibraryLink, setOriginalCompId, setOriginalFileName, setUniqueId
public LiFeDataSource()
Initializes a new instance of the LiFeDataSource
class.
public LiFeDataSource(int version, UUID uniqueId, String originalFileName, String fileType, String fileCreator)
Initializes a new instance of the LiFeDataSource
class.
version
- The version.uniqueId
- The unique identifier.originalFileName
- Name of the original file.fileType
- Type of the file.fileCreator
- The file creator.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.
PsdImageException
- You cannot access Date property, it is available only for liFE data source with version 3 or greater
Value:
The the last write date and time of the external file.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.
PsdImageException
- You cannot access Date property, it is available only for liFE data source with version 3 or greater
Value:
The the last write date and time of the external file.public final long getFileSize()
Gets or sets the size of the external file in the LiFE data source of the PSD LnkE resource.
PsdImageException
- You cannot access FileSize property, it is available only for liFE data source
Value:
The file size.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.
PsdImageException
- You cannot access FileSize property, it is available only for liFE data source
Value:
The file size.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.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.public final String getFullPath()
Gets or sets the full path of the external file in the LiFE data source of the PSD LnkE resource.
PsdImageException
- You cannot access FullPath property, it is available only for liFE data source
Value:
The full file path.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.
PsdImageException
- You cannot access FullPath property, it is available only for liFE data source
Value:
The full file path.public final String getRelativePath()
Gets or sets the relative path of the external file in the LiFE data source of the PSD LnkE resource.
PsdImageException
- You cannot access RelativePath property, it is available only for liFE data source
Value:
The relative file path.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.
PsdImageException
- You cannot access RelativePath property, it is available only for liFE data source
Value:
The relative file path.public final String getElementRef()
Gets or sets the graphics library element reference, for Adobe® Photoshop® CC Libraries.
PsdImageException
- You cannot access ElementRef property, it is available only for liFE data source when IsLibrary is true
Value:
The graphics library element reference.public final void setElementRef(String value)
Gets or sets the graphics library element reference, for Adobe® Photoshop® CC Libraries.
PsdImageException
- You cannot access ElementRef property, it is available only for liFE data source when IsLibrary is true
Value:
The graphics library element reference.public final String getElementName()
Gets or sets the graphics library element name, for Adobe® Photoshop® CC Libraries.
PsdImageException
- You cannot access ElementName property, it is available only for liFE data source when IsLibrary is true
Value:
The graphics library element name.public final void setElementName(String value)
Gets or sets the graphics library element name, for Adobe® Photoshop® CC Libraries.
PsdImageException
- You cannot access ElementName property, it is available only for liFE data source when IsLibrary is true
Value:
The graphics library element name.public final String getAdobeStockId()
Gets or sets the graphics library AdobeStockId, for Adobe® Photoshop® CC Libraries.
PsdImageException
- You cannot access AdobeStockId property, it is available only for liFE data source when IsLibrary is true
Value:
The graphics library Adobe Stock Identifier.public final void setAdobeStockId(String value)
Gets or sets the graphics library AdobeStockId, for Adobe® Photoshop® CC Libraries.
PsdImageException
- You cannot access AdobeStockId property, it is available only for liFE data source when IsLibrary is true
Value:
The graphics library Adobe Stock Identifier.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.