Humboldt Alignment Editor 2.5.0

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

java.lang.Object
  extended by eu.esdihumboldt.hale.common.core.io.impl.AbstractIOProvider
      extended by eu.esdihumboldt.hale.common.core.io.impl.AbstractImportProvider
          extended by eu.esdihumboldt.hale.common.core.io.impl.GZipEnabledImport
All Implemented Interfaces:
ImportProvider, IOProvider
Direct Known Subclasses:
AbstractInstanceReader, AbstractInstanceValidator

public abstract class GZipEnabledImport
extends AbstractImportProvider

Import provider that supports GZiped input based on the content type.

Author:
Simon Templer

Nested Class Summary
static class GZipEnabledImport.GZipInputSupplier
          Input supplier wrapping the input stream in a GZIPInputStream.
 
Field Summary
 
Fields inherited from interface eu.esdihumboldt.hale.common.core.io.ImportProvider
PARAM_RESOURCE_ID, PARAM_SOURCE
 
Fields inherited from interface eu.esdihumboldt.hale.common.core.io.IOProvider
PARAM_CONTENT_TYPE
 
Constructor Summary
GZipEnabledImport()
           
 
Method Summary
 LocatableInputSupplier<? extends InputStream> getSource()
          Get the import source
 
Methods inherited from class eu.esdihumboldt.hale.common.core.io.impl.AbstractImportProvider
createReporter, execute, generateResourceId, getResourceIdentifier, setParameter, setSource, storeConfiguration, validate
 
Methods inherited from class eu.esdihumboldt.hale.common.core.io.impl.AbstractIOProvider
addSupportedParameter, execute, fail, getContentType, getDefaultTypeName, getParameter, getSupportedParameters, getTypeName, loadConfiguration, setContentType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface eu.esdihumboldt.hale.common.core.io.IOProvider
getContentType, getParameter, getSupportedParameters, isCancelable, loadConfiguration, setContentType
 

Constructor Detail

GZipEnabledImport

public GZipEnabledImport()
Method Detail

getSource

public LocatableInputSupplier<? extends InputStream> getSource()
Description copied from interface: ImportProvider
Get the import source

Specified by:
getSource in interface ImportProvider
Overrides:
getSource in class AbstractImportProvider
Returns:
the source input supplier
See Also:
AbstractImportProvider.getSource()

Humboldt Alignment Editor 2.5.0

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