net.sourceforge.demetrix.ui
Class ProcessChainExcelWriter

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

public class ProcessChainExcelWriter
extends Object

Author:
Dimitri Pissarenko

Field Summary
static String LINKS_SHEET_NAME
           
private  Logger logger
           
private  ProcessChain processChain
           
static String RESOURCES_SHEET_NAME
           
private  File targetFile
           
static String TASKS_SHEET_NAME
           
 
Constructor Summary
ProcessChainExcelWriter(File targetFile, ProcessChain processChain)
           
 
Method Summary
 void write()
           
static void writeDemetrixPropertiesHolder(HSSFSheet sheet, Vector propertiesHolders)
           
static void writeProperty(HSSFCell cell, DemetrixProperty property)
           
static void writePropertyNamesHeader(HSSFSheet sheet, Vector allPropertiesNames)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LINKS_SHEET_NAME

public static final String LINKS_SHEET_NAME
See Also:
Constant Field Values

RESOURCES_SHEET_NAME

public static final String RESOURCES_SHEET_NAME
See Also:
Constant Field Values

TASKS_SHEET_NAME

public static final String TASKS_SHEET_NAME
See Also:
Constant Field Values

logger

private Logger logger

targetFile

private File targetFile

processChain

private ProcessChain processChain
Constructor Detail

ProcessChainExcelWriter

public ProcessChainExcelWriter(File targetFile,
                               ProcessChain processChain)
Method Detail

write

public void write()
           throws IOException
Throws:
IOException

writeDemetrixPropertiesHolder

public static void writeDemetrixPropertiesHolder(HSSFSheet sheet,
                                                 Vector propertiesHolders)

writePropertyNamesHeader

public static void writePropertyNamesHeader(HSSFSheet sheet,
                                            Vector allPropertiesNames)

writeProperty

public static void writeProperty(HSSFCell cell,
                                 DemetrixProperty property)