Packages

 

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

Class ClassID

  • java.lang.Object
    • com.aspose.imaging.fileformats.psd.layers.layerresources.ClassID


  • public class ClassID
    extends Object

    The PSD Class ID object.

    • Constructor Detail

      • ClassID

        public ClassID(byte[] classID)

        Initializes a new instance of the ClassID class.

        Parameters:
        classID - The class ID as series of bytes.
      • ClassID

        public ClassID(int classID)

        Initializes a new instance of the ClassID class.

        Parameters:
        classID - The class ID.
      • ClassID

        public ClassID(long classID)

        Initializes a new instance of the ClassID class.

        Parameters:
        classID - The class ID.
      • ClassID

        public ClassID(String classID)

        Initializes a new instance of the ClassID class.

        Parameters:
        classID - The class ID in ASCII encoding.
    • Method Detail

      • getBytes

        public byte[] getBytes()

        Gets the bytes representing class ID.

      • getClassName

        public String getClassName()

        Gets the class name as ASCII encoding.

        Value: The class name.
      • getLength

        public int getLength()

        Gets the class ID length in bytes.

      • save

        public void save(StreamContainer streamContainer)

        Saves the class information to the specified stream container.

        Parameters:
        streamContainer - The stream container to save to.