|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsbrt.shell.text.fba.FbaOptHeaderParserV1
public final class FbaOptHeaderParserV1
This class is a concrete implemenation of FbaOptHeaderParser.
Field Summary | |
---|---|
static java.lang.String |
OBJ_VALUE
The header used to indicate the value of the objective function. |
Constructor Summary | |
---|---|
FbaOptHeaderParserV1(Fluxome fluxome)
Constructs a new FBA optimization header parser. |
Method Summary | |
---|---|
Fluxome |
getFluxome()
Returns the fluxome used to verify reaction names. |
java.lang.String |
getObjValueHeader()
Returns the header used to indicate the value of the objective function. |
PipeSetFormat<java.lang.String> |
getPipeSetFormat()
Returns the format used for sets of strings. |
RxnNameSetFormatV1 |
getRxnNameSetFormat()
Returns the format used for reaction name sets. |
boolean |
isObjValueHeader(java.lang.String s)
Indicates if the provided string is the header used to indicate the value of the objective function. |
java.util.LinkedHashSet<java.lang.String> |
parse(java.lang.String headerSet)
Parses the provided string and returns its corresponding set of FBA optimization headers as a LinkedHashSet . |
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 OBJ_VALUE
Constructor Detail |
---|
public FbaOptHeaderParserV1(Fluxome fluxome)
fluxome
- the fluxome used to verify reaction names.Method Detail |
---|
public Fluxome getFluxome()
getFluxome
in interface FbaOptHeaderParser
public RxnNameSetFormatV1 getRxnNameSetFormat()
public PipeSetFormat<java.lang.String> getPipeSetFormat()
public java.lang.String getObjValueHeader()
getObjValueHeader
in interface FbaOptHeaderParser
public boolean isObjValueHeader(java.lang.String s)
isObjValueHeader
in interface FbaOptHeaderParser
s
- the string to compare.
true
if the provided string is equal to the string
returned by getObjValueHeader(); false
otherwise.public java.util.LinkedHashSet<java.lang.String> parse(java.lang.String headerSet)
LinkedHashSet
.
parse
in interface Parser<java.util.LinkedHashSet<java.lang.String>>
headerSet
- the string to be parsed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |