public class FileContainer extends Object implements com.aspose.ms.System.IDisposable
Represents a container for file stream content.
Constructor and Description |
---|
FileContainer()
Initializes a new instance of the
FileContainer class. |
FileContainer(InputStream stream)
Initializes a new instance of the
FileContainer class. |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Releases resources
|
InputStream |
getStream()
Gets stream.
|
void |
setStream(InputStream value)
Sets stream.
|
void |
setStreamInternal(com.aspose.ms.System.IO.Stream value)
Sets stream internal.
|
public FileContainer()
Initializes a new instance of the FileContainer
class.
public FileContainer(InputStream stream)
Initializes a new instance of the FileContainer
class.
stream
- The stream.public InputStream getStream()
public void setStreamInternal(com.aspose.ms.System.IO.Stream value)
value
- the valuepublic void setStream(InputStream value)
value
- the valuepublic void dispose()
Releases resources
dispose
in interface com.aspose.ms.System.IDisposable
Copyright © 2018. All rights reserved.