|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsbrt.shell.text.chem.RevRxnFormatV2
public final class RevRxnFormatV2
This class is used to format reversible chemical reactions.
Field Summary | |
---|---|
static java.lang.String |
ARROW
The arrow used to signify a reversible reaction. |
Constructor Summary | |
---|---|
RevRxnFormatV2()
Constructs a new reversible reaction format. |
Method Summary | |
---|---|
java.lang.String |
format(ReversibleRxn rxn)
Returns a formatted string representation of the provided reversible chemical reaction. |
ChemSpeciesFormatV1 |
getChemSpeciesFormat()
Returns the format used for chemical species. |
LinearCombFormatV2<java.lang.String> |
getLinearCombFormat()
Returns the format used for stoichiometric expressions. |
ReversibleRxn |
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 ARROW
Constructor Detail |
---|
public RevRxnFormatV2()
Method Detail |
---|
public ChemSpeciesFormatV1 getChemSpeciesFormat()
public LinearCombFormatV2<java.lang.String> getLinearCombFormat()
public java.lang.String format(ReversibleRxn rxn)
format
in interface Formatter<ReversibleRxn>
rxn
- the reaction to be formatted.
public ReversibleRxn parse(java.lang.String reaction)
parse
in interface Parser<ReversibleRxn>
reaction
- the string to be parsed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |