org.eaglei.datatools.etl.server.extractor.parsers.excelparsers
Class ExcelFileParser
java.lang.Object
org.eaglei.datatools.etl.server.extractor.parsers.EIFileParser<java.util.Map<java.lang.String,Data>>
org.eaglei.datatools.etl.server.extractor.parsers.excelparsers.ExcelFileParser
public class ExcelFileParser
- extends EIFileParser<java.util.Map<java.lang.String,Data>>
- Author:
- Sravan Kumar Cheriyala
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExcelFileParser
public ExcelFileParser(java.io.File excelFile)
getSheets
public java.util.List<org.apache.poi.ss.usermodel.Sheet> getSheets()
getFileMetaData
public FileMetaData getFileMetaData()
throws java.text.ParseException
- Throws:
java.text.ParseException
parse
public java.util.Map<java.lang.String,Data> parse(java.io.File mapDirectory)
throws org.apache.commons.configuration.ConfigurationException,
java.io.IOException,
java.text.ParseException
- Description copied from class:
EIFileParser
- parses the file passed in the constructor using the template Configuration file .
- Specified by:
parse in class EIFileParser<java.util.Map<java.lang.String,Data>>
- Returns:
-
- Throws:
org.apache.commons.configuration.ConfigurationException
java.io.IOException
java.text.ParseException
getLabSheet
public org.apache.poi.ss.usermodel.Sheet getLabSheet()
readMapDirectoryPathFromFile
protected java.lang.String readMapDirectoryPathFromFile()
throws java.text.ParseException
- Throws:
java.text.ParseException
getFormVersion
public java.lang.String getFormVersion(org.apache.poi.ss.usermodel.Sheet sheet)
throws java.text.ParseException
- Throws:
java.text.ParseException
readSheetMetaData
public ExcelFileParser.SheetMetaData readSheetMetaData(org.apache.poi.ss.usermodel.Sheet sheet)
throws java.text.ParseException
- Throws:
java.text.ParseException
readConfigPropertiesOfFile
protected void readConfigPropertiesOfFile(java.lang.String mapDirectoryPath)
throws java.io.IOException,
org.apache.commons.configuration.ConfigurationException
- Throws:
java.io.IOException
org.apache.commons.configuration.ConfigurationException
readConfigPropertiesForTab
protected org.eaglei.datatools.etl.server.extractor.parsers.excelparsers.ExcelFileParser.TabConfigProperites readConfigPropertiesForTab(org.apache.poi.ss.usermodel.Sheet sheet,
java.lang.String mapDirecotryPath)
throws org.apache.commons.configuration.ConfigurationException
- Throws:
org.apache.commons.configuration.ConfigurationException
getNumberOfRowsReadFromTabs
public java.util.Map<java.lang.String,java.lang.Integer> getNumberOfRowsReadFromTabs()
getMetaData
public FileMetaData getMetaData()
Copyright © 2009-2011 Eagle-I. All Rights Reserved.