|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsbrt.shell.text.fba.RevRxnFormatV2
public final class RevRxnFormatV2
This class is used to format reversible reactions for use in flux balance analysis.
Field Summary | |
---|---|
static java.lang.String |
ARROW
The arrow used to signify an irreversible reaction. |
static java.lang.String |
SURR
The string used to denote the surroundings. |
Constructor Summary | |
---|---|
RevRxnFormatV2()
Constructs a new reversible 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(RevExchRxn rxn)
Returns a formatted string representation of the provided source. |
java.lang.String |
format(RevRxn rxn)
Returns a formatted string representation of the provided irreversible chemical reaction. |
ChemSpeciesFormatV1 |
getChemSpeciesFormat()
Returns the format used for chemical species. |
LinearCombFormatV2<java.lang.String> |
getLinearCombFormat()
Returns the format used for stoichiometric expressions. |
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 |
Field Detail |
---|
public static final java.lang.String SURR
public static final java.lang.String ARROW
Constructor Detail |
---|
public RevRxnFormatV2()
Method Detail |
---|
public ChemSpeciesFormatV1 getChemSpeciesFormat()
public LinearCombFormatV2<java.lang.String> getLinearCombFormat()
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, SourceRxn, or SinkRxn.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 |