java.lang.Object
de.grogra.pf.io.FilterBase
de.grogra.pf.io.GUnzipFilter
- All Implemented Interfaces:
Filter
,FilterSource
,InputStreamSource
,RegistryContext
,Map
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.grogra.pf.io.FilterSource
FilterSource.MetaDataKey<V>
-
Field Summary
Fields inherited from class de.grogra.pf.io.FilterBase
item, source
Fields inherited from interface de.grogra.pf.io.FilterSource
AUTO_PROGRESS, DESTINATION_FILE, DESTINATION_URL
Fields inherited from interface de.grogra.util.Map
DEFAULT_VALUE, EMPTY_MAP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a stream to obtain the data as a stream of bytes.long
length()
Returns the total number of bytes of this stream.Methods inherited from class de.grogra.pf.io.FilterBase
get, getFilter, getFlavor, getImpl, getMetaData, getRegistry, getSource, getSystemId, initProgressMonitor, setFlavor, setMetaData, setMetaData, setProgress, setSystemId, toString, toURL
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface de.grogra.pf.io.FilterSource
getFilter, getFlavor, getMetaData, getSystemId, initProgressMonitor, setMetaData, setProgress
Methods inherited from interface de.grogra.pf.registry.RegistryContext
getRegistry
-
Constructor Details
-
GUnzipFilter
-
-
Method Details
-
getInputStream
Description copied from interface:InputStreamSource
Returns a stream to obtain the data as a stream of bytes.- Specified by:
getInputStream
in interfaceInputStreamSource
- Returns:
- an input stream for the data
- Throws:
IOException
-
length
public long length()Description copied from interface:InputStreamSource
Returns the total number of bytes of this stream. A negative values indicates that this number is unknown.- Specified by:
length
in interfaceInputStreamSource
- Returns:
- number of bytes
-