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