
**Inheritance:**
java.lang.Object
```
public final class JFIFData
```

The jfif segment.
## Constructors

| Constructor | Description |
| --- | --- |
| [JFIFData()](#JFIFData--) | Initializes a new instance of the  JFIFData  class. |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [getDensityUnits()](#getDensityUnits--) | Gets or sets the density units. |
| [getThumbnail()](#getThumbnail--) | Gets or sets the thumbnail. |
| [getVersion()](#getVersion--) | Gets or sets the version. |
| [getXDensity()](#getXDensity--) | Gets or sets the x density. |
| [getYDensity()](#getYDensity--) | Gets or sets the y density. |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [read_internalized(JpegRawDataReader stream)](#read-internalized-com.aspose.internal.fileformats.jpeg.JpegRawDataReader-) | The read. |
| [setDensityUnits(byte value)](#setDensityUnits-byte-) | Gets or sets the density units. |
| [setThumbnail(RasterImage value)](#setThumbnail-com.aspose.psd.RasterImage-) | Gets or sets the thumbnail. |
| [setVersion(short value)](#setVersion-short-) | Gets or sets the version. |
| [setXDensity(short value)](#setXDensity-short-) | Gets or sets the x density. |
| [setYDensity(short value)](#setYDensity-short-) | Gets or sets the y density. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
| [write_internalized(JFIFData data, JpegStream stream)](#write-internalized-com.aspose.psd.fileformats.jpeg.JFIFData-com.aspose.internal.fileformats.jpeg.JpegStream-) | The write. |
### JFIFData() {#JFIFData--}
```
public JFIFData()
```


Initializes a new instance of the  JFIFData  class.

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




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

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




**Returns:**
java.lang.Class<?>
### getDensityUnits() {#getDensityUnits--}
```
public byte getDensityUnits()
```


Gets or sets the density units.

**Returns:**
byte
### getThumbnail() {#getThumbnail--}
```
public RasterImage getThumbnail()
```


Gets or sets the thumbnail.

**Returns:**
[RasterImage](../../com.aspose.psd/rasterimage)
### getVersion() {#getVersion--}
```
public short getVersion()
```


Gets or sets the version.

**Returns:**
short
### getXDensity() {#getXDensity--}
```
public short getXDensity()
```


Gets or sets the x density.

**Returns:**
short
### getYDensity() {#getYDensity--}
```
public short getYDensity()
```


Gets or sets the y density.

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




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




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




### read_internalized(JpegRawDataReader stream) {#read-internalized-com.aspose.internal.fileformats.jpeg.JpegRawDataReader-}
```
public static JFIFData read_internalized(JpegRawDataReader stream)
```


The read.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| stream | com.aspose.internal.fileformats.jpeg.JpegRawDataReader | The stream. |

**Returns:**
[JFIFData](../../com.aspose.psd.fileformats.jpeg/jfifdata) - The  JFIFData .
### setDensityUnits(byte value) {#setDensityUnits-byte-}
```
public void setDensityUnits(byte value)
```


Gets or sets the density units.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | byte |  |

### setThumbnail(RasterImage value) {#setThumbnail-com.aspose.psd.RasterImage-}
```
public void setThumbnail(RasterImage value)
```


Gets or sets the thumbnail.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [RasterImage](../../com.aspose.psd/rasterimage) |  |

### setVersion(short value) {#setVersion-short-}
```
public void setVersion(short value)
```


Gets or sets the version.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | short |  |

### setXDensity(short value) {#setXDensity-short-}
```
public void setXDensity(short value)
```


Gets or sets the x density.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | short |  |

### setYDensity(short value) {#setYDensity-short-}
```
public void setYDensity(short value)
```


Gets or sets the y density.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | short |  |

### 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 |  |

### write_internalized(JFIFData data, JpegStream stream) {#write-internalized-com.aspose.psd.fileformats.jpeg.JFIFData-com.aspose.internal.fileformats.jpeg.JpegStream-}
```
public static void write_internalized(JFIFData data, JpegStream stream)
```


The write.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| data | [JFIFData](../../com.aspose.psd.fileformats.jpeg/jfifdata) | The data. |
| stream | com.aspose.internal.fileformats.jpeg.JpegStream | The stream. |

