public static class GZipEnabledImport.GZipInputSupplier extends Object implements LocatableInputSupplier<InputStream>
GZIPInputStream
.Constructor and Description |
---|
GZipEnabledImport.GZipInputSupplier(LocatableInputSupplier<? extends InputStream> source)
Create a GZiped input supplier.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
getInput() |
URI |
getLocation()
Get the location
|
URI |
getUsedLocation()
Returns the used location, which may be relative.
|
public GZipEnabledImport.GZipInputSupplier(LocatableInputSupplier<? extends InputStream> source)
source
- the original sourcepublic InputStream getInput() throws IOException
getInput
in interface com.google.common.io.InputSupplier<InputStream>
IOException
public URI getLocation()
Locatable
getLocation
in interface Locatable
null
public URI getUsedLocation()
LocatableInputSupplier
getUsedLocation
in interface LocatableInputSupplier<InputStream>
Locatable.getLocation()
, or
a relative URIBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a