eu.esdihumboldt.hale.common.core.io.impl
Class GZipEnabledImport.GZipInputSupplier
java.lang.Object
eu.esdihumboldt.hale.common.core.io.impl.GZipEnabledImport.GZipInputSupplier
- All Implemented Interfaces:
- com.google.common.io.InputSupplier<InputStream>, Locatable, LocatableInputSupplier<InputStream>
- Enclosing class:
- GZipEnabledImport
public static class GZipEnabledImport.GZipInputSupplier
- extends Object
- implements LocatableInputSupplier<InputStream>
Input supplier wrapping the input stream in a GZIPInputStream
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GZipEnabledImport.GZipInputSupplier
public GZipEnabledImport.GZipInputSupplier(LocatableInputSupplier<? extends InputStream> source)
- Create a GZiped input supplier.
- Parameters:
source
- the original source
getInput
public InputStream getInput()
throws IOException
- Specified by:
getInput
in interface com.google.common.io.InputSupplier<InputStream>
- Throws:
IOException
getLocation
public URI getLocation()
- Description copied from interface:
Locatable
- Get the location
- Specified by:
getLocation
in interface Locatable
- Returns:
- the location, may be
null
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d