net.sourceforge.demetrix.ui
Class ProcessChainExcelReader

java.lang.Object
  extended bynet.sourceforge.demetrix.ui.ProcessChainExcelReader

public class ProcessChainExcelReader
extends Object

Author:
Dimitri Pissarenko

Field Summary
private  File file
           
private  Logger logger
           
 
Constructor Summary
ProcessChainExcelReader(File file)
           
 
Method Summary
private  DemetrixProperty createAppropriateProperty(HSSFCell cell, Hashtable propertyNames)
           
private  void createDemetrixPropertiesHolders(HSSFWorkbook workBook, ProcessChain processChain, String sheetName, Class propertiesHolderClass)
           
private  void createLinks(HSSFWorkbook workBook, ProcessChain processChain, String sheetName)
           
 ProcessChain read()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

file

private File file

logger

private Logger logger
Constructor Detail

ProcessChainExcelReader

public ProcessChainExcelReader(File file)
Method Detail

read

public ProcessChain read()
                  throws FileNotFoundException,
                         IOException,
                         NoSuchMethodException,
                         IllegalAccessException,
                         InstantiationException,
                         InvocationTargetException
Throws:
FileNotFoundException
IOException
NoSuchMethodException
IllegalAccessException
InstantiationException
InvocationTargetException

createDemetrixPropertiesHolders

private void createDemetrixPropertiesHolders(HSSFWorkbook workBook,
                                             ProcessChain processChain,
                                             String sheetName,
                                             Class propertiesHolderClass)
                                      throws NoSuchMethodException,
                                             IllegalAccessException,
                                             InstantiationException,
                                             InvocationTargetException
Throws:
NoSuchMethodException
IllegalAccessException
InstantiationException
InvocationTargetException

createLinks

private void createLinks(HSSFWorkbook workBook,
                         ProcessChain processChain,
                         String sheetName)

createAppropriateProperty

private DemetrixProperty createAppropriateProperty(HSSFCell cell,
                                                   Hashtable propertyNames)