
**Inheritance:**
java.lang.Object
```
public class ClassID
```

The PSD Class ID object.
## Constructors

| Constructor | Description |
| --- | --- |
| [ClassID(byte[] classID)](#ClassID-byte---) | Initializes a new instance of the [ClassID](../../com.aspose.psd.fileformats.psd.layers.layerresources/classid) class. |
| [ClassID(byte[] classID, boolean isZeroLength)](#ClassID-byte---boolean-) | Initializes a new instance of the [ClassID](../../com.aspose.psd.fileformats.psd.layers.layerresources/classid) class. |
| [ClassID(int classID)](#ClassID-int-) | Initializes a new instance of the [ClassID](../../com.aspose.psd.fileformats.psd.layers.layerresources/classid) class. |
| [ClassID(long classID)](#ClassID-long-) | Initializes a new instance of the [ClassID](../../com.aspose.psd.fileformats.psd.layers.layerresources/classid) class. |
| [ClassID(String classID, boolean isZeroLength)](#ClassID-java.lang.String-boolean-) | Initializes a new instance of the [ClassID](../../com.aspose.psd.fileformats.psd.layers.layerresources/classid) class. |
| [ClassID(String classID)](#ClassID-java.lang.String-) | Initializes a new instance of the [ClassID](../../com.aspose.psd.fileformats.psd.layers.layerresources/classid) class. |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getBytes()](#getBytes--) | Gets the bytes representing class ID. |
| [getClass()](#getClass--) |  |
| [getClassName()](#getClassName--) | Gets the class name as ASCII encoding. |
| [getEmpty_internalized()](#getEmpty-internalized--) | Gets the new instance of [ClassID](../../com.aspose.psd.fileformats.psd.layers.layerresources/classid) type with '\\0' value. |
| [getLength()](#getLength--) | Gets the class ID length in bytes. |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [save(StreamContainer streamContainer)](#save-com.aspose.psd.StreamContainer-) | Saves the class information to the specified stream container. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### ClassID(byte[] classID) {#ClassID-byte---}
```
public ClassID(byte[] classID)
```


Initializes a new instance of the [ClassID](../../com.aspose.psd.fileformats.psd.layers.layerresources/classid) class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| classID | byte[] | The class ID as series of bytes. |

### ClassID(byte[] classID, boolean isZeroLength) {#ClassID-byte---boolean-}
```
public ClassID(byte[] classID, boolean isZeroLength)
```


Initializes a new instance of the [ClassID](../../com.aspose.psd.fileformats.psd.layers.layerresources/classid) class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| classID | byte[] | The class ID as series of bytes. |
| isZeroLength | boolean | if set to  true  [is zero length]. The recorded string length is zero but actual is four. |

### ClassID(int classID) {#ClassID-int-}
```
public ClassID(int classID)
```


Initializes a new instance of the [ClassID](../../com.aspose.psd.fileformats.psd.layers.layerresources/classid) class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| classID | int | The class ID. |

### ClassID(long classID) {#ClassID-long-}
```
public ClassID(long classID)
```


Initializes a new instance of the [ClassID](../../com.aspose.psd.fileformats.psd.layers.layerresources/classid) class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| classID | long | The class ID. |

### ClassID(String classID, boolean isZeroLength) {#ClassID-java.lang.String-boolean-}
```
public ClassID(String classID, boolean isZeroLength)
```


Initializes a new instance of the [ClassID](../../com.aspose.psd.fileformats.psd.layers.layerresources/classid) class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| classID | java.lang.String | The class ID in ASCII encoding. |
| isZeroLength | boolean | if set to  true  [is zero length]. |

### ClassID(String classID) {#ClassID-java.lang.String-}
```
public ClassID(String classID)
```


Initializes a new instance of the [ClassID](../../com.aspose.psd.fileformats.psd.layers.layerresources/classid) class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| classID | java.lang.String | The class ID in ASCII encoding. |

### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getBytes() {#getBytes--}
```
public final byte[] getBytes()
```


Gets the bytes representing class ID.

**Returns:**
byte[]
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getClassName() {#getClassName--}
```
public final String getClassName()
```


Gets the class name as ASCII encoding.

Value: The class name.

**Returns:**
java.lang.String
### getEmpty_internalized() {#getEmpty-internalized--}
```
public static ClassID getEmpty_internalized()
```


Gets the new instance of [ClassID](../../com.aspose.psd.fileformats.psd.layers.layerresources/classid) type with '\\0' value.

**Returns:**
[ClassID](../../com.aspose.psd.fileformats.psd.layers.layerresources/classid) - The new instance of [ClassID](../../com.aspose.psd.fileformats.psd.layers.layerresources/classid) type with '\\0' value.
### getLength() {#getLength--}
```
public final int getLength()
```


Gets the class ID length in bytes.

**Returns:**
int
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### save(StreamContainer streamContainer) {#save-com.aspose.psd.StreamContainer-}
```
public final void save(StreamContainer streamContainer)
```


Saves the class information to the specified stream container.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| streamContainer | [StreamContainer](../../com.aspose.psd/streamcontainer) | The stream container to save to. |

### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

