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

Represents Font file definition.
## Constructors

| Constructor | Description |
| --- | --- |
| [FontFileDefinition(StreamSource streamSource)](#FontFileDefinition-com.aspose.font.StreamSource-) | Creates a file definition using file content only. |
| [FontFileDefinition(String fileExtension, StreamSource streamSource)](#FontFileDefinition-java.lang.String-com.aspose.font.StreamSource-) | Creates a file definition using file content only. |
| [FontFileDefinition(String fileExtension, StreamSource streamSource, long offset)](#FontFileDefinition-java.lang.String-com.aspose.font.StreamSource-long-) | Creates a file definition using file content only. |
| [FontFileDefinition(File fontFile)](#FontFileDefinition-java.io.File-) | Creates a file definition using font file (represented by File) and file content. |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [getFileExtension()](#getFileExtension--) | Gets File extension. |
| [getFileName()](#getFileName--) | Gets File name. |
| [getOffset()](#getOffset--) | Gets offset inside the stream. |
| [getStreamSource()](#getStreamSource--) | Gets the stream source. |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### FontFileDefinition(StreamSource streamSource) {#FontFileDefinition-com.aspose.font.StreamSource-}
```
public FontFileDefinition(StreamSource streamSource)
```


Creates a file definition using file content only.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| streamSource | [StreamSource](../../com.aspose.font/streamsource) | Font stream source. |

### FontFileDefinition(String fileExtension, StreamSource streamSource) {#FontFileDefinition-java.lang.String-com.aspose.font.StreamSource-}
```
public FontFileDefinition(String fileExtension, StreamSource streamSource)
```


Creates a file definition using file content only.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| fileExtension | java.lang.String | Font file extension. |
| streamSource | [StreamSource](../../com.aspose.font/streamsource) | Font stream source. |

### FontFileDefinition(String fileExtension, StreamSource streamSource, long offset) {#FontFileDefinition-java.lang.String-com.aspose.font.StreamSource-long-}
```
public FontFileDefinition(String fileExtension, StreamSource streamSource, long offset)
```


Creates a file definition using file content only.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| fileExtension | java.lang.String | Font file extension. |
| streamSource | [StreamSource](../../com.aspose.font/streamsource) | Font stream source. |
| offset | long | Offset to font data in stream source. |

### FontFileDefinition(File fontFile) {#FontFileDefinition-java.io.File-}
```
public FontFileDefinition(File fontFile)
```


Creates a file definition using font file (represented by File) and file content.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| fontFile | java.io.File | File object. |

### 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<?>
### getFileExtension() {#getFileExtension--}
```
public String getFileExtension()
```


Gets File extension.

**Returns:**
java.lang.String - File extension.
### getFileName() {#getFileName--}
```
public String getFileName()
```


Gets File name.

**Returns:**
java.lang.String - File name.
### getOffset() {#getOffset--}
```
public long getOffset()
```


Gets offset inside the stream.

**Returns:**
long - Offset inside the stream.
### getStreamSource() {#getStreamSource--}
```
public StreamSource getStreamSource()
```


Gets the stream source.

**Returns:**
[StreamSource](../../com.aspose.font/streamsource) - The stream source.
### hashCode() {#hashCode--}
```
public native int hashCode()
```




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




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




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




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




### wait(long arg0) {#wait-long-}
```
public final native 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 |  |

