|
|||||||||
| 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.StreamContainer
com.aspose.imaging.FileStreamContainer
public final class FileStreamContainer
Helper for file stream processing.
| Method Summary | |
|---|---|
java.lang.String |
getFilePath()
Gets the file path. |
boolean |
isCreated()
Gets a value indicating whether stream was created explicitly. |
boolean |
isTemporal()
Gets a value indicating whether stream is temporal. |
static FileStreamContainer |
openFileStream(java.lang.String fileLocation)
Opens an existing file stream. |
void |
setTemporal(boolean value)
Sets a value indicating whether stream is temporal. |
static FileStream |
toFileStream(FileStreamContainer fileStreamContainer)
Performs an explicit conversion from FileStreamContainer to System.IO.FileStream. |
static Stream |
toStream(FileStreamContainer fileStreamContainer)
Performs an explicit conversion from FileStreamContainer to System.IO.Stream. |
| Methods inherited from class com.aspose.imaging.StreamContainer |
|---|
afterStreamDisposed, beforeStreamDisposed, canRead, canSeek, canWrite, flush, getLength, getPosition, getStream, isStreamDisposedOnClose, read, read, readByte, releaseManagedResources, save, save, save, save, save, save, seek, seekBegin, setLength, setPosition, shift, toBytes, toBytes, toStream, write, write, writeByte |
| 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 |
| Method Detail |
|---|
public java.lang.String getFilePath()
Gets the file path.
Value: The file path.
public boolean isCreated()
Gets a value indicating whether stream was created explicitly.
Value:true if stream was created explicitly; otherwise, false.
public boolean isTemporal()
Gets a value indicating whether stream is temporal.
Value:true if stream is temporal; otherwise, false.
public static FileStreamContainer openFileStream(java.lang.String fileLocation)
Opens an existing file stream. If file stream does not exist the appropriate exception is thrown.
fileLocation - The file location.
public void setTemporal(boolean value)
Sets a value indicating whether stream is temporal.
Value:true if stream is temporal; otherwise, false.
public static FileStream toFileStream(FileStreamContainer fileStreamContainer)
Performs an explicit conversion from FileStreamContainer to System.IO.FileStream.
fileStreamContainer - The file stream container.
public static Stream toStream(FileStreamContainer fileStreamContainer)
Performs an explicit conversion from FileStreamContainer to System.IO.Stream.
fileStreamContainer - The file stream container.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||