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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
contextualize
(Context context) Read the extraction definition fileRead the extraction definition filevoid
service
(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:
contextualize
in interfaceContextualizable
- Throws:
ContextException
-
service
- Specified by:
service
in 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
-