org.eaglei.datatools.etl.server
Class FileToCSV<I>

java.lang.Object
  extended by org.eaglei.datatools.etl.server.FileToCSV<I>
Direct Known Subclasses:
ExcelFileToCSV

public abstract class FileToCSV<I>
extends java.lang.Object

Author:
Sravan Cheriyala

Constructor Summary
FileToCSV()
           
 
Method Summary
 java.lang.String getMapDirecotryPath()
           
abstract  I makeCSV(java.io.InputStream in)
           
protected abstract  void readFormatConfigPropertiesOfFile()
          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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileToCSV

public FileToCSV()
Method Detail

readFormatConfigPropertiesOfFile

protected abstract void readFormatConfigPropertiesOfFile()
                                                  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()

makeCSV

public abstract I makeCSV(java.io.InputStream in)
                   throws org.apache.commons.configuration.ConfigurationException,
                          java.io.IOException
Throws:
org.apache.commons.configuration.ConfigurationException
java.io.IOException

getMapDirecotryPath

public java.lang.String getMapDirecotryPath()

setMapDirecotryPath

public void setMapDirecotryPath(java.lang.String mapDirecotryPath)


Copyright © 2009-2011 Eagle-I. All Rights Reserved.