Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.core.io.impl
Class GZipEnabledImport.GZipInputSupplier

java.lang.Object
  extended by 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.


Constructor Summary
GZipEnabledImport.GZipInputSupplier(LocatableInputSupplier<? extends InputStream> source)
          Create a GZiped input supplier.
 
Method Summary
 InputStream getInput()
           
 URI getLocation()
          Get the location
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GZipEnabledImport.GZipInputSupplier

public GZipEnabledImport.GZipInputSupplier(LocatableInputSupplier<? extends InputStream> source)
Create a GZiped input supplier.

Parameters:
source - the original source
Method Detail

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

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d