|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.bootstrep.Utilities.IOMethods
public class IOMethods
This Class contains several input/output methods.
| Field Summary | |
|---|---|
(package private) DateTime |
dTime
An instance for DateTime class |
(package private) Logger |
Logger
An instance of Logger Class. |
(package private) Logger |
xmlLog
An instance of Logger Class. |
| Constructor Summary | |
|---|---|
IOMethods()
Creates a new instance of IOMethods |
|
| Method Summary | |
|---|---|
java.lang.Boolean |
checkForInputFile(PropertyBean PB,
MainBean MB,
MessageBean mesBn)
This method searches for the XML input file. |
java.lang.String |
loadGenericTable(PropertyBean PB,
MessageBean mesBn,
MainBean MB,
ListBean LB,
java.lang.String fileName)
This is an old version of writeAndLoadLogFile. |
java.lang.String |
readPropFile(java.io.PrintStream out,
java.lang.String propName,
java.lang.String propFile,
MessageBean mesBn)
This method retrieves property values from property file. log level is set to 3, that is the higher level. |
java.lang.String |
writeAndLoadLogFile(PropertyBean PB,
MessageBean mesBn,
MainBean MB,
ListBean LB,
java.lang.String fileName)
This method writes down log information about the XML input file. |
void |
writeGeneralFile(PropertyBean PB,
MessageBean mesBn,
MainBean MB,
java.util.ArrayList list,
java.lang.String fileName)
This is an utility method. |
void |
writeInputFiles(PropertyBean PB,
MessageBean mesBn,
MainBean MB,
ListBean LB,
java.lang.Integer when)
This method writes down input data into files. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
Logger Logger
Logger xmlLog
DateTime dTime
| Constructor Detail |
|---|
public IOMethods()
| Method Detail |
|---|
public java.lang.String readPropFile(java.io.PrintStream out,
java.lang.String propName,
java.lang.String propFile,
MessageBean mesBn)
out - Output PrintStreampropName - The property to read from file.propFile - The property filemesBn - The messageBean.
public java.lang.Boolean checkForInputFile(PropertyBean PB,
MainBean MB,
MessageBean mesBn)
PB - The PropertyBeanMB - The MainBeanmesBn - The MessageBean
public void writeInputFiles(PropertyBean PB,
MessageBean mesBn,
MainBean MB,
ListBean LB,
java.lang.Integer when)
PB - The PropertyBeanmesBn - The MessageBeanMB - The MainBeanLB - The ListBeanwhen - An integer to select table type
public java.lang.String writeAndLoadLogFile(PropertyBean PB,
MessageBean mesBn,
MainBean MB,
ListBean LB,
java.lang.String fileName)
PB - The PropertyBeanmesBn - The MessageBeanMB - The MainBeanLB - The ListBeanfileName - input empty file. This file will contain list data
public void writeGeneralFile(PropertyBean PB,
MessageBean mesBn,
MainBean MB,
java.util.ArrayList list,
java.lang.String fileName)
PB - The PropertyBeanmesBn - The MessageBeanMB - The MainBeanlist - input listfileName - input empty file. This file will contain list data
public java.lang.String loadGenericTable(PropertyBean PB,
MessageBean mesBn,
MainBean MB,
ListBean LB,
java.lang.String fileName)
PB - The PropertyBeanmesBn - The MessageBeanMB - The ListBeanLB - The ListBeanfileName - input empty file. This file will contain list data
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||