org.eaglei.datatools.etl.server
Class EIFileParser<I>
java.lang.Object
org.eaglei.datatools.etl.server.EIFileParser<I>
- Direct Known Subclasses:
- ExcelFileParser
public abstract class EIFileParser<I>
- extends java.lang.Object
- Author:
- Sravan Cheriyala
|
Method Summary |
java.lang.String |
getMapDirecotryPath()
|
protected abstract void |
readConfigPropertiesOfFile()
there are some format properties configured in properties file like order of tabs to process,global columns,global columns to appear in csv etc .These properties belong to entire File.readFormatConfigPropertiesOfFile reads the properties file
and get the configuration parameters into class |
protected abstract java.lang.String |
readMapDirectoryPathFromFile()
|
void |
setMapDirecotryPath(java.lang.String mapDirecotryPath)
|
abstract I |
toCSV(java.io.InputStream in)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EIFileParser
public EIFileParser()
readConfigPropertiesOfFile
protected abstract void readConfigPropertiesOfFile()
throws org.apache.commons.configuration.ConfigurationException,
java.io.IOException
- there are some format properties configured in properties file like order of tabs to process,global columns,global columns to appear in csv etc .These properties belong to entire File.readFormatConfigPropertiesOfFile reads the properties file
and get the configuration parameters into class
- Throws:
org.apache.commons.configuration.ConfigurationException
java.io.IOException
readMapDirectoryPathFromFile
protected abstract java.lang.String readMapDirectoryPathFromFile()
throws java.text.ParseException
- Throws:
java.text.ParseException
toCSV
public abstract I toCSV(java.io.InputStream in)
throws org.apache.commons.configuration.ConfigurationException,
java.io.IOException,
java.text.ParseException
- Throws:
org.apache.commons.configuration.ConfigurationException
java.io.IOException
java.text.ParseException
getMapDirecotryPath
public java.lang.String getMapDirecotryPath()
setMapDirecotryPath
public void setMapDirecotryPath(java.lang.String mapDirecotryPath)
Copyright © 2009-2011 Eagle-I. All Rights Reserved.