Packages

 

com.aspose.cad.fileformats.psd.resources

Class UnknownResource



  • public final class UnknownResource
    extends ResourceBlock

    The unknown resource. When a resource block is not recognized then this resource block is created.

    • Constructor Detail

      • UnknownResource

        public UnknownResource(byte[] data)

        Initializes a new instance of the UnknownResource class.

        Parameters:
        data - The resource data.
    • Method Detail

      • getData

        public byte[] getData()

        Gets the resource data.

        Returns:
        The resource data.
      • getDataSize

        public int getDataSize()

        Gets the resource data size in bytes.

        Specified by:
        getDataSize in class ResourceBlock
        Returns:
        The resource data size.
      • getMinimalVersion

        public int getMinimalVersion()

        Gets the minimal required psd version.

        Specified by:
        getMinimalVersion in class ResourceBlock
        Returns:
        The minimal psd version.