Class ExtractionDefinitionReader
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.ametys.plugins.extraction.execution.ExtractionDefinitionReader
- All Implemented Interfaces:
Component,Contextualizable,LogEnabled,Serviceable
public class ExtractionDefinitionReader
extends AbstractLogEnabled
implements Component, Contextualizable, Serviceable
This class reads the extraction definition file
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcontextualize(Context context) Read the extraction definition fileRead the extraction definition filevoidservice(ServiceManager manager) Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
ROLE
The component role.
-
-
Constructor Details
-
ExtractionDefinitionReader
public ExtractionDefinitionReader()
-
-
Method Details
-
contextualize
- Specified by:
contextualizein interfaceContextualizable- Throws:
ContextException
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
readExtractionDefinitionFile
Read the extraction definition file- Parameters:
file- extraction definition file- Returns:
- the extraction components parsed in the definition file
- Throws:
Exception- if an error occurs
-
readVariablesDefinitionsInExtractionDefinitionFile
Read the extraction definition file- Parameters:
file- extraction definition file- Returns:
- the extraction components parsed in the definition file
- Throws:
Exception- if an error occurs
-