public class PTBExporter
extends org.corpus_tools.pepper.impl.PepperExporterImpl
implements org.corpus_tools.pepper.modules.PepperExporter
| Constructor and Description |
|---|
PTBExporter()
OVERRIDE THIS METHOD FOR CUSTOMIZATION
A constructor for your module.
|
| Modifier and Type | Method and Description |
|---|---|
org.corpus_tools.pepper.modules.PepperMapper |
createPepperMapper(org.corpus_tools.salt.graph.Identifier sElementId)
OVERRIDE THIS METHOD FOR CUSTOMIZATION
This method creates a customized
PepperMapper object and returns
it. |
boolean |
isReadyToStart()
OVERRIDE THIS METHOD FOR CUSTOMIZATION
This method is called by the pepper framework after initializing this
object and directly before start processing.
|
addSupportedFormat, createFolderStructure, exportCorpusStructure, getCorpusDesc, getDocumentEnding, getExportMode, getIdentifier2ResourceTable, getSupportedFormats, setCorpusDesc, setDocumentEnding, setExportMode, startactivate, done, done, end, getComponentContext, getCorpusGraph, getDesc, getDocumentId2DC, getFingerprint, getMapperControllers, getMapperThreadGroup, getModuleController, getModuleType, getName, getProgress, getProgress, getProperties, getResources, getSaltProject, getStartProblems, getSupplierContact, getSupplierHomepage, getSymbolicName, getTemproraries, getVersion, isMultithreaded, proposeImportOrder, setCorpusGraph, setDesc, setIsMultithreaded, setMapperThreadGroup, setName, setPepperModuleController_basic, setPepperModuleController, setProperties, setResources, setSaltProject, setSupplierContact, setSupplierHomepage, setSymbolicName, setTemproraries, setVersion, start, toString, uncaughtExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSupportedFormat, createFolderStructure, exportCorpusStructure, getCorpusDesc, getDocumentEnding, getExportMode, getIdentifier2ResourceTable, getSupportedFormats, setCorpusDesc, setDocumentEnding, setExportModedone, done, end, getComponentContext, getCorpusGraph, getDesc, getFingerprint, getModuleController, getModuleType, getName, getProgress, getProgress, getProperties, getResources, getSaltProject, getStartProblems, getSupplierContact, getSupplierHomepage, getSymbolicName, getTemproraries, getVersion, isMultithreaded, proposeImportOrder, setCorpusGraph, setDesc, setIsMultithreaded, setPepperModuleController_basic, setPepperModuleController, setProperties, setResources, setSaltProject, setSupplierContact, setSupplierHomepage, setSymbolicName, setTemproraries, setVersion, start, startpublic PTBExporter()
public org.corpus_tools.pepper.modules.PepperMapper createPepperMapper(org.corpus_tools.salt.graph.Identifier sElementId)
PepperMapper object and returns
it. You can here do some additional initialisations. Things like setting
the Identifier of the SDocument or SCorpus object
and the URI resource is done by the framework (or more in detail
in method PepperExporterImpl.start()). The parameter sElementId, if a
PepperMapper object should be created in case of the object to
map is either an SDocument object or an SCorpus object of
the mapper should be initialized differently. createPepperMapper in interface org.corpus_tools.pepper.modules.PepperModulecreatePepperMapper in class org.corpus_tools.pepper.impl.PepperModuleImplsElementId - Identifier of the SCorpus or SDocument
to be processed.PepperMapper object to do the mapping task for object
connected to given Identifierpublic boolean isReadyToStart()
throws org.corpus_tools.pepper.modules.exceptions.PepperModuleNotReadyException
PepperModuleProperties, setting temprorary files,
resources etc. . returns false or throws an exception in case of
PepperModule instance is not ready for any reason.isReadyToStart in interface org.corpus_tools.pepper.modules.PepperModuleisReadyToStart in class org.corpus_tools.pepper.impl.PepperModuleImplPepperModule instance is not ready for any reason,
true, else.org.corpus_tools.pepper.modules.exceptions.PepperModuleNotReadyExceptionCopyright © 2013–2015 Humboldt-Universität zu Berlin. All rights reserved.