FileSystemStreamSource
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.font.StreamSource
public class FileSystemStreamSource extends StreamSource
Represents a stream source based on file system.
Constructors
Constructor | Description |
---|---|
FileSystemStreamSource(String fileName) | Initializes new FileSystemStreamSource object. |
Methods
Method | Description |
---|---|
getFileName() | Gets file name. |
setFileName(String value) | Sets file name. |
getFontStream() | Returns Font file stream. |
deepClone() | Clones the FileSystemStreamSource object. |
FileSystemStreamSource(String fileName)
public FileSystemStreamSource(String fileName)
Initializes new FileSystemStreamSource object.
Parameters:
Parameter | Type | Description |
---|---|---|
fileName | java.lang.String | File name. |
getFileName()
public String getFileName()
Gets file name.
Returns: java.lang.String - File name.
setFileName(String value)
public void setFileName(String value)
Sets file name.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | File name. |
getFontStream()
public InputStream getFontStream()
Returns Font file stream. Don’t forget to close the stream after use.
Returns: java.io.InputStream - Font file stream.
deepClone()
public Object deepClone()
Clones the FileSystemStreamSource object.
Returns: java.lang.Object - Copy of FileSystemStreamSource object.