public abstract class AbstractAlignmentMappingExport extends AbstractAlignmentWriter implements MappingTableConstants
Modifier and Type | Field and Description |
---|---|
String |
DEFAULT_LINE_END
the default line break in a cell
|
INCLUDE_NAMESPACES, MAX_COLUMN_WIDTH, MODE_ALL, MODE_BY_TYPE_CELLS, MODE_EXCLUDE_BASE, PARAMETER_MODE, TRANSFORMATION_AND_DISABLED_FOR
PARAM_TARGET
PARAM_CHARSET, PARAM_CONTENT_TYPE
Constructor and Description |
---|
AbstractAlignmentMappingExport() |
Modifier and Type | Method and Description |
---|---|
protected IOReport |
execute(ProgressIndicator progress,
IOReporter reporter)
Execute the I/O provider.
|
List<CellType> |
getCellTypes() |
String |
getCellValue(Map<CellType,CellInformation> mapping,
CellType cellType) |
List<String> |
getMappingHeader()
Header for all columns in the Mapping file
|
List<Map<CellType,CellInformation>> |
getMappingList()
Get all mappings.
|
protected boolean |
isByTypeCell() |
getAlignment, getProjectInfo, getProjectLocation, getSourceSchema, getTargetSchema, setAlignment, setProjectInfo, setProjectLocation, setSourceSchema, setTargetSchema, validate
createReporter, getTarget, setParameter, setTarget, storeConfiguration
addSupportedParameter, execute, fail, getCharset, getContentType, getDefaultCharset, getDefaultTypeName, getParameter, getSupportedParameters, getTypeName, loadConfiguration, setCharset, setContentType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTarget, setTarget
createReporter, execute, getCharset, getContentType, getParameter, getSupportedParameters, isCancelable, loadConfiguration, setCharset, setContentType, setParameter, storeConfiguration
public final String DEFAULT_LINE_END
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 failsAbstractIOProvider.execute(eu.esdihumboldt.hale.common.core.io.ProgressIndicator,
eu.esdihumboldt.hale.common.core.io.report.IOReporter)
public List<String> getMappingHeader()
public List<Map<CellType,CellInformation>> getMappingList()
public String getCellValue(Map<CellType,CellInformation> mapping, CellType cellType)
mapping
- the relevant mapping of getMappingList()
cellType
- the cell typeprotected boolean isByTypeCell()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a