public abstract class StreamSource extends Object
Defines a way to get a file stream when it is needed.
| Constructor and Description |
|---|
StreamSource()
Initializes stream source instance.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
deepClone()
Clones the stream source object.
|
abstract InputStream |
getFontStream()
Returns Font stream.
|
long |
getOffset()
Gets offset inside the source.
|
boolean |
mustCloseAfterUse()
The inheritors may prevent stream from closing.
|
void |
setOffset(long value)
Sets offset inside the source.
|
public abstract InputStream getFontStream()
Returns Font stream.
public boolean mustCloseAfterUse()
The inheritors may prevent stream from closing. Returns true if the stream source wants the stream to be closed after use. Otherwise returns false.
public long getOffset()
Gets offset inside the source.
public void setOffset(long value)
Sets offset inside the source.
value - Offset inside the source.public abstract Object deepClone()
Clones the stream source object.
Copyright © 2025 Aspose. All Rights Reserved.