de.grogra.pf.io
public class InputStreamSourceImpl extends FilterSourceBase implements InputStreamSource
FilterSource.MetaDataKey<V>AUTO_PROGRESS, DESTINATION_FILE, DESTINATION_URL| Constructor and Description |
|---|
InputStreamSourceImpl(java.io.InputStream in,
java.lang.String systemId,
MimeType mimeType,
Registry r,
ModifiableMap metaData) |
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
getInputStream()
Returns a stream to obtain the data as a stream of bytes.
|
java.lang.String |
getSystemId()
Returns a system id which identifies this source.
|
long |
length()
Returns the total number of bytes of this stream.
|
getFilter, getFlavor, getMetaData, getRegistry, initProgressMonitor, setMetaData, setProgress, setProgress0, setProgressImpl, toString, useAutoProgressclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFilter, getFlavor, getMetaData, initProgressMonitor, setMetaData, setProgressgetRegistrypublic InputStreamSourceImpl(java.io.InputStream in,
java.lang.String systemId,
MimeType mimeType,
Registry r,
ModifiableMap metaData)
public java.io.InputStream getInputStream()
InputStreamSourcegetInputStream in interface InputStreamSourcepublic java.lang.String getSystemId()
FilterSourcegetSystemId in interface FilterSourcepublic long length()
InputStreamSourcelength in interface InputStreamSource