|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsbrt.shell.text.fba.RxnNameVerifier
public class RxnNameVerifier
This class is used to ensure reaction names exist in a
given Fluxome
.
Constructor Summary | |
---|---|
RxnNameVerifier(Fluxome fluxome)
Constructs a new reaction name checker for the provided fluxome. |
Method Summary | |
---|---|
java.lang.String |
format(java.lang.String validRxnName)
Returns the provided reaction name after ensuring it exists in the corresponding fluxome of this reaction name checker. |
Fluxome |
getFluxome()
Returns the fluxome used to create this reaction name checker. |
java.lang.String |
parse(java.lang.String rxnName)
Parses the provided string and returns its corresponding reaction name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RxnNameVerifier(Fluxome fluxome)
fluxome
- the fluxome whose reaction names
will be used for comparison.Method Detail |
---|
public Fluxome getFluxome()
public java.lang.String format(java.lang.String validRxnName)
format
in interface Formatter<java.lang.String>
validRxnName
- the name of a reaction in this
reaction name checker's fluxome.
java.lang.IllegalArgumentException
- if the provided string
is not the name of a reaction in this reaction name
checker's fluxome.public java.lang.String parse(java.lang.String rxnName)
parse
in interface Parser<java.lang.String>
rxnName
- the string to be parsed.
FormatException
- if the provided string
is not a valid reaction name in the fluxome used to
create this reaction name checker.
java.lang.NullPointerException
- if the provided string
is null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |