|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.imaging.sources.StreamSource
public final class StreamSource
Represents a stream source.
Constructor Summary | |
---|---|
StreamSource(java.io.InputStream stream)
Initializes a new instance of the StreamSource class. |
|
StreamSource(java.io.InputStream stream,
boolean disposeStream)
Initializes a new instance of the StreamSource class. |
Method Summary | |
---|---|
boolean |
getDisposeStream()
Gets a value indicating whether stream should be disposed whenever container gets disposed. |
java.io.InputStream |
getStream()
Gets the stream. |
StreamContainer |
getStreamContainer()
Gets the stream container. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StreamSource(java.io.InputStream stream)
stream
- public StreamSource(java.io.InputStream stream, boolean disposeStream)
stream
- disposeStream
- Method Detail |
---|
public boolean getDisposeStream()
Gets a value indicating whether stream should be disposed whenever container gets disposed.
Value:true
if stream should be disposed; otherwise, false
.
public java.io.InputStream getStream()
public StreamContainer getStreamContainer()
Gets the stream container.
getStreamContainer
in interface Source
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |