Packages

 

com.aspose.imaging.fileformats.psd.layers.layerresources.typetoolinfostructures

Class DescriptorStructure



  • public class DescriptorStructure
    extends OSTypeStructure

    The descriptor structure

    • Field Detail

      • STRUCTURE_KEY

        public static final int STRUCTURE_KEY

        Identifies the structure key.

        See Also:
        Constant Field Values
    • Constructor Detail

      • DescriptorStructure

        public DescriptorStructure(ClassID keyName,
                                   ClassID classID,
                                   String className,
                                   OSTypeStructure[] structures)

        Initializes a new instance of the DescriptorStructure class.

        Parameters:
        keyName - The key name.
        classID - The class identifier.
        className - Name of the class.
        structures - The structures.
        Throws:
        com.aspose.ms.System.ArgumentNullException - classID is null
    • Method Detail

      • getLength

        public int getLength()

        Gets the OSTypeStructure length in bytes.

        Specified by:
        getLength in class OSTypeStructure
      • getClassName

        public String getClassName()

        Gets or sets the class name.

        Value: The class name.
      • setClassName

        public void setClassName(String value)

        Gets or sets the class name.

        Value: The class name.
      • getClassID

        public ClassID getClassID()

        Gets or sets the class ID.

        Value: The class ID.
      • setClassID

        public void setClassID(ClassID value)

        Gets or sets the class ID.

        Value: The class ID.
      • getStructures

        public OSTypeStructure[] getStructures()

        Gets or sets the structures.

        Value: The structures.
      • setStructures

        public void setStructures(OSTypeStructure[] value)

        Gets or sets the structures.

        Value: The structures.
      • getHeaderLength

        public int getHeaderLength()

        Gets the header length.

        Overrides:
        getHeaderLength in class OSTypeStructure
        Returns:
        The header length