|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.imaging.DisposableObject
com.aspose.imaging.DataStreamSupporter
public class DataStreamSupporter
The data stream container.
Constructor Summary | |
---|---|
DataStreamSupporter()
|
Method Summary | |
---|---|
void |
flush()
Flushes all the cached data directly to the object's stream. |
StreamContainer |
getDataStreamContainer()
Gets the object's data stream. |
protected void |
onDataStreamContainerChanging(StreamContainer streamContainer)
Called when data stream container is changing. |
protected void |
releaseManagedResources()
Releases the managed resources. |
void |
save(java.io.InputStream stream)
Saves the object's data to the specified stream. |
void |
save(java.lang.String filePath)
Saves the object's data to the specified file location. |
void |
setDataStreamContainer(StreamContainer value)
Sets the object's data stream. |
Methods inherited from class com.aspose.imaging.DisposableObject |
---|
dispose, getDisposed, releaseUnmanagedResources, verifyNotDisposed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataStreamSupporter()
Method Detail |
---|
public void flush()
Flushes all the cached data directly to the object's stream.
public StreamContainer getDataStreamContainer()
Gets the object's data stream.
Value: The object's data stream.
protected void onDataStreamContainerChanging(StreamContainer streamContainer)
Called when data stream container is changing.
streamContainer
- The stream container.protected void releaseManagedResources()
Releases the managed resources. Make sure no unmanaged resources are released here, since they may have been already released.
releaseManagedResources
in class DisposableObject
public void save(java.io.InputStream stream)
Saves the object's data to the specified stream.
stream
- The stream to save the object's data to.public void save(java.lang.String filePath)
Saves the object's data to the specified file location.
filePath
- The file path to save the object's data to.public void setDataStreamContainer(StreamContainer value)
Sets the object's data stream.
Value: The object's data stream.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |