sbrt.shell.text.fba
Interface RxnNameSetFormat

All Superinterfaces:
Format, Formatter<java.util.Set<java.lang.String>>, Parser<java.util.Set<java.lang.String>>, SimpleFormat<java.util.Set<java.lang.String>>
All Known Implementing Classes:
RxnNameSetFormatV1

public interface RxnNameSetFormat
extends SimpleFormat<java.util.Set<java.lang.String>>

This interface is used to represent the formats of collections of reaction names.

Author:
This interface was written and documented by Jeremiah Wright while in the Wagner lab.

Method Summary
 java.lang.String format(java.util.Set<java.lang.String> reactionNames)
          Returns a formatted string representation of the provided set of reaction names.
 Fluxome getFluxome()
          Returns the fluxome used to verify reaction names.
 java.util.LinkedHashSet<java.lang.String> parse(java.lang.String reactionNames)
          Parses the provided string and returns the set of reaction names it contains.
 
Methods inherited from interface sbrt.shell.text.Formatter
format
 

Method Detail

getFluxome

Fluxome getFluxome()
Returns the fluxome used to verify reaction names.

Returns:
the fluxome used to verify reaction names.

format

java.lang.String format(java.util.Set<java.lang.String> reactionNames)
Returns a formatted string representation of the provided set of reaction names.

Parameters:
reactionNames - the set of reaction names to be formatted.
Returns:
a formatted string representation of the provided set of reaction names.

parse

java.util.LinkedHashSet<java.lang.String> parse(java.lang.String reactionNames)
Parses the provided string and returns the set of reaction names it contains.

Specified by:
parse in interface Parser<java.util.Set<java.lang.String>>
Parameters:
reactionNames - the string to be parsed.
Returns:
the set of reaction names contained in the provided string.