eu.esdihumboldt.hale.common.core.io.impl
Class GZipEnabledExport.GZipOutputSupplier
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GZipEnabledExport.GZipOutputSupplier
public GZipEnabledExport.GZipOutputSupplier(LocatableOutputSupplier<? extends OutputStream> target)
- Create a GZiped output supplier.
- Parameters:
target
- the original target
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
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d