|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsbrt.shell.proc.fba.SimpleRxnFileTranslator
public class SimpleRxnFileTranslator
This class is used to translate simple reaction files from, say, spreadsheets into FBA Reaction Files.
Constructor Summary | |
---|---|
SimpleRxnFileTranslator()
Constructs a new translator. |
Method Summary | |
---|---|
IrrevRxnFormatV2 |
getInputIrrevRxnFormat()
Returns the parser used for irreversible reactions in the input file. |
RevRxnFormatV2 |
getInputRevRxnFormat()
Returns the parser used for reversible reactions in the input file. |
EqualsMapEntryFormatV1 |
getLineFormat()
Returns the format used for individual lines in the input and output files. |
IrrevRxnFormatV1 |
getOutputIrrevRxnFormat()
Returns the formatter used for irreversible reactions in the output file. |
void |
translate(java.lang.String simpleRxnFileName,
java.lang.String outputFileName)
Translates a simple reaction file into an FBA Reaction File. |
void |
translate(java.lang.String simpleRxnFileName,
java.lang.String outputFileName,
java.io.PrintWriter out)
Translates a simple reaction file into an FBA Reaction File. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleRxnFileTranslator()
Method Detail |
---|
public RevRxnFormatV2 getInputRevRxnFormat()
public IrrevRxnFormatV2 getInputIrrevRxnFormat()
public IrrevRxnFormatV1 getOutputIrrevRxnFormat()
public EqualsMapEntryFormatV1 getLineFormat()
public void translate(java.lang.String simpleRxnFileName, java.lang.String outputFileName)
simpleRxnFileName
- the name of the simple reaction file.outputFileName
- the desired name of the FBA Reaction File.public void translate(java.lang.String simpleRxnFileName, java.lang.String outputFileName, java.io.PrintWriter out)
simpleRxnFileName
- the name of the simple reaction file.outputFileName
- the desired name of the FBA Reaction File.out
- the print writer to which descriptive messages will be written.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |