ClassID

Inheritance: java.lang.Object

public class ClassID

The PSD Class ID object.

Constructors

ConstructorDescription
ClassID(byte[] classID)Initializes a new instance of the ClassID class.
ClassID(byte[] classID, boolean isZeroLength)Initializes a new instance of the ClassID class.
ClassID(int classID)Initializes a new instance of the ClassID class.
ClassID(long classID)Initializes a new instance of the ClassID class.
ClassID(String classID, boolean isZeroLength)Initializes a new instance of the ClassID class.
ClassID(String classID)Initializes a new instance of the ClassID class.

Methods

MethodDescription
equals(Object arg0)
getBytes()Gets the bytes representing class ID.
getClass()
getClassName()Gets the class name as ASCII encoding.
getEmpty_internalized()Gets the new instance of ClassID type with ‘\0’ value.
getLength()Gets the class ID length in bytes.
hashCode()
notify()
notifyAll()
save(StreamContainer streamContainer)Saves the class information to the specified stream container.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

ClassID(byte[] classID)

public ClassID(byte[] classID)

Initializes a new instance of the ClassID class.

Parameters:

ParameterTypeDescription
classIDbyte[]The class ID as series of bytes.

ClassID(byte[] classID, boolean isZeroLength)

public ClassID(byte[] classID, boolean isZeroLength)

Initializes a new instance of the ClassID class.

Parameters:

ParameterTypeDescription
classIDbyte[]The class ID as series of bytes.
isZeroLengthbooleanif set to true [is zero length]. The recorded string length is zero but actual is four.

ClassID(int classID)

public ClassID(int classID)

Initializes a new instance of the ClassID class.

Parameters:

ParameterTypeDescription
classIDintThe class ID.

ClassID(long classID)

public ClassID(long classID)

Initializes a new instance of the ClassID class.

Parameters:

ParameterTypeDescription
classIDlongThe class ID.

ClassID(String classID, boolean isZeroLength)

public ClassID(String classID, boolean isZeroLength)

Initializes a new instance of the ClassID class.

Parameters:

ParameterTypeDescription
classIDjava.lang.StringThe class ID in ASCII encoding.
isZeroLengthbooleanif set to true [is zero length].

ClassID(String classID)

public ClassID(String classID)

Initializes a new instance of the ClassID class.

Parameters:

ParameterTypeDescription
classIDjava.lang.StringThe class ID in ASCII encoding.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getBytes()

public final byte[] getBytes()

Gets the bytes representing class ID.

Returns: byte[]

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getClassName()

public final String getClassName()

Gets the class name as ASCII encoding.

Value: The class name.

Returns: java.lang.String

getEmpty_internalized()

public static ClassID getEmpty_internalized()

Gets the new instance of ClassID type with ‘\0’ value.

Returns: ClassID - The new instance of ClassID type with ‘\0’ value.

getLength()

public final int getLength()

Gets the class ID length in bytes.

Returns: int

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

save(StreamContainer streamContainer)

public final void save(StreamContainer streamContainer)

Saves the class information to the specified stream container.

Parameters:

ParameterTypeDescription
streamContainerStreamContainerThe stream container to save to.

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int