Packages

 

com.aspose.psd.fileformats.psd.layers.layerresources.linkresources

Class LiFeDataSource



  • 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 programmatically

    • Constructor Detail

      • LiFeDataSource

        public LiFeDataSource()

        Initializes a new instance of the LiFeDataSource class.

      • LiFeDataSource

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

        Initializes a new instance of the LiFeDataSource class.

        Parameters:
        version - The version.
        uniqueId - The unique identifier.
        originalFileName - Name of the original file.
        fileType - Type of the file.
        fileCreator - The file creator.
    • Method Detail

      • 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.

        Throws:
        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.
      • setDate

        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.

        Throws:
        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.
      • getFileSize

        public final long getFileSize()

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

        Throws:
        PsdImageException - You cannot access FileSize property, it is available only for liFE data source Value: The file size.
      • setFileSize

        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.

        Throws:
        PsdImageException - You cannot access FileSize property, it is available only for liFE data source Value: The file size.
      • 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.
      • setFileName

        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.
      • 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.

        Throws:
        PsdImageException - You cannot access FullPath property, it is available only for liFE data source Value: The full file path.
      • setFullPath

        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.

        Throws:
        PsdImageException - You cannot access FullPath property, it is available only for liFE data source Value: The full file path.
      • 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.

        Throws:
        PsdImageException - You cannot access RelativePath property, it is available only for liFE data source Value: The relative file path.
      • setRelativePath

        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.

        Throws:
        PsdImageException - You cannot access RelativePath property, it is available only for liFE data source Value: The relative file path.
      • getElementRef

        public final String getElementRef()

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

        Throws:
        PsdImageException - You cannot access ElementRef property, it is available only for liFE data source when IsLibrary is true Value: The graphics library element reference.
      • setElementRef

        public final void setElementRef(String value)

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

        Throws:
        PsdImageException - You cannot access ElementRef property, it is available only for liFE data source when IsLibrary is true Value: The graphics library element reference.
      • getElementName

        public final String getElementName()

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

        Throws:
        PsdImageException - You cannot access ElementName property, it is available only for liFE data source when IsLibrary is true Value: The graphics library element name.
      • setElementName

        public final void setElementName(String value)

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

        Throws:
        PsdImageException - You cannot access ElementName property, it is available only for liFE data source when IsLibrary is true Value: The graphics library element name.
      • getAdobeStockId

        public final String getAdobeStockId()

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

        Throws:
        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.
      • setAdobeStockId

        public final void setAdobeStockId(String value)

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

        Throws:
        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.
      • 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.