|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsbrt.shell.text.fba.RxnFormatV1
public final class RxnFormatV1
This class is used to format reactions for use in flux balance analysis.
Constructor Summary | |
---|---|
RxnFormatV1()
Constructs a new irreversible reaction format. |
Method Summary | |
---|---|
java.lang.String |
format(ChemRxn rxn)
Returns a formatted string representation of the provided irreversible chemical reaction. |
java.lang.String |
format(IrrevRxn rxn)
Returns a formatted string representation of the provided irreversible reaction. |
java.lang.String |
format(RevExchRxn rxn)
Returns a formatted string representation of the provided reversible exchange reaction. |
java.lang.String |
format(RevRxn rxn)
Returns a formatted string representation of the provided reversible reaction. |
java.lang.String |
format(SinkRxn rxn)
Returns a formatted string representation of the provided sink reaction. |
java.lang.String |
format(SourceRxn rxn)
Returns a formatted string representation of the provided source reaction. |
ChemSpeciesFormatV1 |
getChemSpeciesFormat()
Returns the format used for chemical species. |
IrrevRxnFormatV1 |
getIrrevRxnFormat()
Returns the format used for irreversible reactions. |
RevRxnFormatV1 |
getRevRxnFormat()
Returns the format used for reversible reactions. |
ChemRxn |
parse(java.lang.String reaction)
Parses the provided string and returns its corresponding chemical reaction. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RxnFormatV1()
Method Detail |
---|
public ChemSpeciesFormatV1 getChemSpeciesFormat()
public IrrevRxnFormatV1 getIrrevRxnFormat()
public RevRxnFormatV1 getRevRxnFormat()
public java.lang.String format(ChemRxn rxn)
format
in interface Formatter<ChemRxn>
rxn
- the reaction to be formatted.
java.lang.IllegalArgumentException
- if rxn
is not an
IrrevRxn, RevRxn, SourceRxn,
SinkRxn, or RevExchRxn.public java.lang.String format(IrrevRxn rxn)
rxn
- the reaction to be formatted.
public java.lang.String format(SourceRxn rxn)
rxn
- the reaction to be formatted.
public java.lang.String format(SinkRxn rxn)
rxn
- the reaction to be formatted.
public java.lang.String format(RevRxn rxn)
rxn
- the reaction to be formatted.
public java.lang.String format(RevExchRxn rxn)
rxn
- the reaction to be formatted.
public ChemRxn parse(java.lang.String reaction)
parse
in interface Parser<ChemRxn>
reaction
- the string to be parsed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |