|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eaglei.datatools.etl.server.extractor.Extractor
public abstract class Extractor
| Constructor Summary | |
|---|---|
Extractor()
|
|
| Method Summary | |
|---|---|
abstract java.util.Map<java.lang.String,Data> |
getData(java.io.File templateConfigFile)
We need to parse the file and convert the data into #org.eaglei.datatools.etl.server.extractor.parsers.data . |
abstract java.lang.String |
getFormVersion()
Every File which is submitted to ETL have to be associated with the form version. |
java.io.File |
getMapDirectory(java.lang.String formVersion,
java.io.File mapsParentDirectory)
Map directories are named with following format RESOURCETYPE_VERSION.In this directory all map files are stored . |
java.util.Map<java.lang.String,java.io.File> |
getMapFiles(java.io.File mapDirectory)
gets all the map files require to transform the extracted file,returns the java.Util.Map with 'key' as map filename and 'value' as Map File |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Extractor()
| Method Detail |
|---|
public abstract java.lang.String getFormVersion()
throws java.text.ParseException,
java.io.IOException
java.text.ParseException
java.io.IOException
public abstract java.util.Map<java.lang.String,Data> getData(java.io.File templateConfigFile)
throws org.apache.commons.configuration.ConfigurationException,
java.io.IOException,
java.text.ParseException,
ExtractorException
#org.eaglei.datatools.etl.server.extractor.parsers.data . This method returns the Java.util.Map with 'key' as the name of Map file and 'value' as the Data.It needs template config file as input. This templateconfig will be having
information about the file being extracted.
templateConfigFile -
org.apache.commons.configuration.ConfigurationException
java.io.IOException
java.text.ParseException
ExtractorException
public java.util.Map<java.lang.String,java.io.File> getMapFiles(java.io.File mapDirectory)
throws java.io.FileNotFoundException
mapDirectory -
java.io.FileNotFoundException
public java.io.File getMapDirectory(java.lang.String formVersion,
java.io.File mapsParentDirectory)
formVersion - mapsParentDirectory -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||