Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.core.io
Interface ImportProvider

All Superinterfaces:
IOProvider
All Known Subinterfaces:
AlignmentReader, CodeListReader, InstanceReader, InstanceValidator, ProjectReader, SchemaReader, StyleReader
All Known Implementing Classes:
AbstractAlignmentReader, AbstractImportProvider, AbstractInstanceReader, AbstractInstanceValidator, AbstractProjectReader, AbstractSchemaReader, ArchiveProjectReader, CSVInstanceReader, CSVSchemaReader, DefaultAlignmentReader, DefaultProjectReader, GmlInstanceReader, GZipEnabledImport, OmlReader, ProjectParser, ShapeInstanceReader, ShapeSchemaReader, SLDStyleReader, StreamGmlReader, XmlCodeListReader, XmlInstanceReader, XmlInstanceValidator, XMLProjectReader, XmlSchemaReader, ZipProjectReader

public interface ImportProvider
extends IOProvider

Base interface for import providers

Since:
2.2
Author:
Simon Templer
Partner:
01 / Fraunhofer Institute for Computer Graphics Research

Field Summary
static String PARAM_RESOURCE_ID
          The configuration parameter name for the resource identifier
static String PARAM_SOURCE
          The configuration parameter name for the source URI
 
Fields inherited from interface eu.esdihumboldt.hale.common.core.io.IOProvider
PARAM_CONTENT_TYPE
 
Method Summary
 String getResourceIdentifier()
          Get the resource identifier.
 LocatableInputSupplier<? extends InputStream> getSource()
          Get the import source
 void setSource(LocatableInputSupplier<? extends InputStream> source)
          Set the import source
 
Methods inherited from interface eu.esdihumboldt.hale.common.core.io.IOProvider
createReporter, execute, getContentType, getParameter, getSupportedParameters, isCancelable, loadConfiguration, setContentType, setParameter, storeConfiguration, validate
 

Field Detail

PARAM_SOURCE

static final String PARAM_SOURCE
The configuration parameter name for the source URI

See Also:
Constant Field Values

PARAM_RESOURCE_ID

static final String PARAM_RESOURCE_ID
The configuration parameter name for the resource identifier

See Also:
Constant Field Values
Method Detail

setSource

void setSource(LocatableInputSupplier<? extends InputStream> source)
Set the import source

Parameters:
source - the source input supplier

getSource

LocatableInputSupplier<? extends InputStream> getSource()
Get the import source

Returns:
the source input supplier

getResourceIdentifier

String getResourceIdentifier()
Get the resource identifier. The identifier serves to uniquely identify the resource represented by the import provider. It is either generated on execute or loaded from a stored configuration.

Returns:
the resource identifier, may be null if the provider was not executed yet

Humboldt Alignment Editor 2.5.0

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