de.grogra.pf.io
public interface InputStreamSource extends FilterSource
FilterSource has to be implemented
by filter sources whose flavor supports InputStreams
(IOFlavor.INPUT_STREAM). It represents the data
by an instance of InputStream, i.e., as a stream of bytes.FilterSource.MetaDataKey<V>AUTO_PROGRESS, DESTINATION_FILE, DESTINATION_URL| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
getInputStream()
Returns a stream to obtain the data as a stream of bytes.
|
long |
length()
Returns the total number of bytes of this stream.
|
getFilter, getFlavor, getMetaData, getSystemId, initProgressMonitor, setMetaData, setProgressgetRegistryjava.io.InputStream getInputStream()
throws java.io.IOException
java.io.IOExceptionlong length()