|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.common.core.io.impl.AbstractIOProvider
eu.esdihumboldt.hale.common.core.io.impl.AbstractExportProvider
public abstract class AbstractExportProvider
Abstract ExportProvider
implementation
Field Summary |
---|
Fields inherited from interface eu.esdihumboldt.hale.common.core.io.ExportProvider |
---|
PARAM_TARGET |
Fields inherited from interface eu.esdihumboldt.hale.common.core.io.IOProvider |
---|
PARAM_CONTENT_TYPE |
Constructor Summary | |
---|---|
AbstractExportProvider()
|
Method Summary | |
---|---|
IOReporter |
createReporter()
Create a reporter configured for the execution of this I/O provider. |
LocatableOutputSupplier<? extends OutputStream> |
getTarget()
Get the export target |
void |
setParameter(String name,
String value)
Set a parameter |
void |
setTarget(LocatableOutputSupplier<? extends OutputStream> target)
Set the export target |
void |
storeConfiguration(Map<String,String> configuration)
Stores all parameters that were set using AbstractIOProvider.setParameter(String, String) in the configuration. |
void |
validate()
Validate the I/O provider configuration |
Methods inherited from class eu.esdihumboldt.hale.common.core.io.impl.AbstractIOProvider |
---|
addSupportedParameter, execute, 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 |
---|
execute, getContentType, getParameter, getSupportedParameters, isCancelable, loadConfiguration, setContentType |
Constructor Detail |
---|
public AbstractExportProvider()
Method Detail |
---|
public void setTarget(LocatableOutputSupplier<? extends OutputStream> target)
ExportProvider
setTarget
in interface ExportProvider
target
- the target output supplierExportProvider.setTarget(LocatableOutputSupplier)
public LocatableOutputSupplier<? extends OutputStream> getTarget()
ExportProvider
getTarget
in interface ExportProvider
ExportProvider.getTarget()
public void validate() throws IOProviderConfigurationException
IOProvider
validate
in interface IOProvider
validate
in class AbstractIOProvider
IOProviderConfigurationException
- if the I/O provider was not
configured properlyAbstractIOProvider.validate()
public void storeConfiguration(Map<String,String> configuration)
AbstractIOProvider
AbstractIOProvider.setParameter(String, String)
in the configuration. For changing
the behavior please override this method.
storeConfiguration
in interface IOProvider
storeConfiguration
in class AbstractIOProvider
configuration
- the configuration to populateAbstractIOProvider.storeConfiguration(Map)
public void setParameter(String name, String value)
IOProvider
setParameter
in interface IOProvider
setParameter
in class AbstractIOProvider
name
- the parameter namevalue
- the parameter valueAbstractIOProvider.setParameter(String, String)
public IOReporter createReporter()
IOProvider
IOProvider.execute(ProgressIndicator)
.
createReporter
in interface IOProvider
IOProvider.createReporter()
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |