com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class ImageResourceBlock

  • All Implemented Interfaces:
    IMetadataProperty


    public final class ImageResourceBlock
    extends Object
    implements IMetadataProperty

    Represents Photoshop Image Resource block. <br></br> Image resource blocks are the basic building unit of several file formats, including Photoshop's native file format, JPEG, and TIFF. Image resources are used to store non-pixel data associated with images, such as pen tool paths.

    • Method Detail

      • getSignature

        public final String getSignature()

        Gets the image resource block signature.

        Returns:
        The image resource block signature
      • getId

        public final long getId()

        Gets the unique identifier for the resource.

        Returns:
        The identifier.
      • getDefinedId

        public final int getDefinedId()

        Gets the defined identifier.

        Returns:
        The defined identifier.
      • setName

        public final void setName(String value)

        Sets the property name.

        Specified by:
        setName in interface IMetadataProperty
        Parameters:
        value - The property name.
      • getPropertyName

        public final String getPropertyName()

        Gets the image resource block name.

        Returns:
        The image resource block name.
      • getDataSize

        public final int getDataSize()

        Gets the size of the data.

        Returns:
        The data size.
      • getData

        public final byte[] getData()

        Gets the resource data.

        Returns:
        The resource data.
      • getFormattedValue

        public final String getFormattedValue()

        Gets the formatted value.

        Specified by:
        getFormattedValue in interface IMetadataProperty
        Returns:
        String value contained metadata property value in readable format.
      • toString

        public String toString()

        Returns a System.String that represents this instance.

        Overrides:
        toString in class Object
        Returns:
        A System.String that represents this instance.