public abstract class DataStreamSupporter extends DisposableObject
The data stream container.
Constructor and Description |
---|
DataStreamSupporter() |
Modifier and Type | Method and Description |
---|---|
abstract void |
cacheData()
Caches the data and ensures no additional data loading will be performed from the underlying
DataStreamSupporter.DataStreamContainer . |
com.aspose.imaging.StreamContainer |
getDataStreamContainer()
Gets the object's data stream.
|
abstract boolean |
isCached()
Gets a value indicating whether object's data is cached currently and no data readig is required.
|
void |
save_internalized(com.aspose.ms.System.IO.Stream stream)
Saves the object's data to the specified stream.
|
void |
save()
Saves the object's data to the current
DataStreamSupporter . |
void |
save(OutputStream stream) |
void |
save(String filePath)
Saves the object's data to the specified file location.
|
void |
save(String filePath,
boolean overWrite)
Saves the object's data to the specified file location.
|
void |
setDataStreamContainer(com.aspose.imaging.StreamContainer value) |
dispose, getDisposed
public com.aspose.imaging.StreamContainer getDataStreamContainer()
Gets the object's data stream.
Value: The object's data stream.public void setDataStreamContainer(com.aspose.imaging.StreamContainer value)
public abstract boolean isCached()
Gets a value indicating whether object's data is cached currently and no data readig is required.
Value:true
if object's data is cached; otherwise, false
.public abstract void cacheData()
Caches the data and ensures no additional data loading will be performed from the underlying DataStreamSupporter.DataStreamContainer
.
public void save()
Saves the object's data to the current DataStreamSupporter
.
public void save_internalized(com.aspose.ms.System.IO.Stream stream)
Saves the object's data to the specified stream.
stream
- The stream to save the object's data to.public void save(OutputStream stream)
public void save(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 save(String filePath, boolean overWrite)
Saves the object's data to the specified file location.
filePath
- The file path to save the object's data to.overWrite
- if set to true
over write the file contents, otherwise append will occur.Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.