public class StreamContent extends Content
Represents content based on a stream.
DEFAULT_HTTP_ENCODING, DEFAULT_STRING_ENCODING| Constructor and Description |
|---|
StreamContent(com.aspose.ms.System.IO.Stream content)
Initializes a new instance of the
StreamContent class. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispose(boolean disposing)
Releases unmanaged and - optionally - managed resources.
|
protected void |
serializeToStream(com.aspose.ms.System.IO.Stream stream)
Serializes to stream.
|
dispose, getHeaders, readAsByteArray, readAsStream, readAsStringpublic StreamContent(com.aspose.ms.System.IO.Stream content)
Initializes a new instance of the StreamContent class.
content - The content.protected void serializeToStream(com.aspose.ms.System.IO.Stream stream)
Serializes to stream.
serializeToStream in class Contentstream - The stream.