public class HtmlMappingExporter extends AbstractAlignmentWriter implements ProjectInfoAware, HtmlMappingTemplateConstants
CREATED_DATE, EXPORT_DATE, FILE_DIRECTORY, PROJECT_INFO, TOOLTIP, TYPE_CELL_INFOS
PARAM_TARGET
PARAM_CHARSET, PARAM_CONTENT_TYPE
Constructor and Description |
---|
HtmlMappingExporter() |
Modifier and Type | Method and Description |
---|---|
protected IOReport |
execute(ProgressIndicator progress,
IOReporter reporter)
Execute the I/O provider.
|
protected String |
getDefaultTypeName()
Get the default type name if no content type is provided
|
boolean |
isCancelable()
States if the execution of the provider is cancelable
|
void |
setProjectInfo(ProjectInfo projectInfo)
Set information about the current project.
|
getAlignment, getProjectInfo, getProjectLocation, getSourceSchema, getTargetSchema, setAlignment, setProjectLocation, setSourceSchema, setTargetSchema, validate
createReporter, getTarget, setParameter, setTarget, storeConfiguration
addSupportedParameter, execute, fail, getCharset, getContentType, getDefaultCharset, getParameter, getSupportedParameters, getTypeName, loadConfiguration, setCharset, setContentType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setProjectLocation
getTarget, setTarget
createReporter, execute, getCharset, getContentType, getParameter, getSupportedParameters, loadConfiguration, setCharset, setContentType, setParameter, storeConfiguration
public boolean isCancelable()
IOProvider
isCancelable
in interface IOProvider
public void setProjectInfo(ProjectInfo projectInfo)
ProjectInfoAware
setProjectInfo
in interface ProjectInfoAware
setProjectInfo
in class AbstractAlignmentWriter
projectInfo
- the project information, may be null
if
no project is availableProjectInfoAware.setProjectInfo(eu.esdihumboldt.hale.common.core.io.project.ProjectInfo)
protected String getDefaultTypeName()
AbstractIOProvider
getDefaultTypeName
in class AbstractIOProvider
protected IOReport execute(ProgressIndicator progress, IOReporter reporter) throws IOProviderConfigurationException, IOException
AbstractIOProvider
execute
in class AbstractIOProvider
progress
- the progress indicatorreporter
- the reporter to use for the execution reportIOProviderConfigurationException
- if the I/O provider was not
configured properlyIOException
- if an I/O operation failsBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a