Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.core.io.impl
Class GZipEnabledExport.GZipOutputSupplier

java.lang.Object
  extended by eu.esdihumboldt.hale.common.core.io.impl.GZipEnabledExport.GZipOutputSupplier
All Implemented Interfaces:
com.google.common.io.OutputSupplier<OutputStream>, Locatable, LocatableOutputSupplier<OutputStream>
Enclosing class:
GZipEnabledExport

public static class GZipEnabledExport.GZipOutputSupplier
extends Object
implements LocatableOutputSupplier<OutputStream>

Output supplier wrapping the output stream in a GZIPOutputStream


Constructor Summary
GZipEnabledExport.GZipOutputSupplier(LocatableOutputSupplier<? extends OutputStream> target)
          Create a GZiped output supplier.
 
Method Summary
 URI getLocation()
          Get the location
 OutputStream getOutput()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GZipEnabledExport.GZipOutputSupplier

public GZipEnabledExport.GZipOutputSupplier(LocatableOutputSupplier<? extends OutputStream> target)
Create a GZiped output supplier.

Parameters:
target - the original target
Method Detail

getOutput

public OutputStream getOutput()
                       throws IOException
Specified by:
getOutput in interface com.google.common.io.OutputSupplier<OutputStream>
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