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, sourceFields inherited from interface de.grogra.pf.io.FilterSource
AUTO_PROGRESS, DESTINATION_FILE, DESTINATION_URLFields 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.longlength()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, toURLMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.grogra.pf.io.FilterSource
getFilter, getFlavor, getMetaData, getSystemId, initProgressMonitor, setMetaData, setProgressMethods inherited from interface de.grogra.pf.registry.RegistryContext
getRegistry
-
Constructor Details
-
GUnzipFilter
-
-
Method Details
-
getInputStream
Description copied from interface:InputStreamSourceReturns a stream to obtain the data as a stream of bytes.- Specified by:
getInputStreamin interfaceInputStreamSource- Returns:
- an input stream for the data
- Throws:
IOException
-
length
public long length()Description copied from interface:InputStreamSourceReturns the total number of bytes of this stream. A negative values indicates that this number is unknown.- Specified by:
lengthin interfaceInputStreamSource- Returns:
- number of bytes
-