|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsbrt.shell.io.fba.RofoofSource<F>
F
- the fluxome type.public class RofoofSource<F extends Fluxome>
This class is used to provide a source of row-oriented FBA optimization output files.
Constructor Summary | |
---|---|
RofoofSource(java.util.Iterator<java.lang.String> fileNameSource,
FileFormat fileFormat,
java.util.Set<java.lang.String> rowHeaders,
FbaOptFileLineFormat fbaFormat)
Constructs a new source of row-oriented FBA optimization output files. |
|
RofoofSource(java.util.Iterator<java.lang.String> fileNameSource,
java.lang.String fileNameSourceName,
FileFormat fileFormat,
java.util.Set<java.lang.String> rowHeaders,
FbaOptFileLineFormat fbaFormat)
Constructs a new source of row-oriented FBA optimization output files. |
Method Summary | |
---|---|
FileFormat |
getFileFormat()
Returns the file format used to create files of type RowOrFbaOptOutputFile. |
boolean |
hasNext()
Indicates if this iterator can return another file using the next() method. |
RowOrFbaOptOutputFile<F> |
next()
Returns the next row-oriented map output file with the next name returned by the file name source. |
void |
remove()
Throws UnsupportedOperationException . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RofoofSource(java.util.Iterator<java.lang.String> fileNameSource, FileFormat fileFormat, java.util.Set<java.lang.String> rowHeaders, FbaOptFileLineFormat fbaFormat)
fileNameSource
- the file name source.fileFormat
- the file format used to write files.rowHeaders
- a set of valid row headers that will appear
in the files produced by this source. This set can consist of
reaction names and the objective function header. If null
,
all values from every added set of results will be written to this file.fbaFormat
- the map format used to write data strings
to the files produced by this source.
java.lang.NullPointerException
- if any argument except rowHeaders
is null
.public RofoofSource(java.util.Iterator<java.lang.String> fileNameSource, java.lang.String fileNameSourceName, FileFormat fileFormat, java.util.Set<java.lang.String> rowHeaders, FbaOptFileLineFormat fbaFormat)
fileNameSource
- the file name source.fileNameSourceName
- the name of the file name source.fileFormat
- the file format used to write files.rowHeaders
- a set of valid row headers that will appear
in the files produced by this source. This set can consist of
reaction names and the objective function header. If null
,
all values from every added set of results will be written to this file.fbaFormat
- the map format used to write data strings
to the files produced by this source.
java.lang.NullPointerException
- if any argument except rowHeaders
is null
.Method Detail |
---|
public FileFormat getFileFormat()
public boolean hasNext()
next()
method.
hasNext
in interface java.util.Iterator<RowOrFbaOptOutputFile<F extends Fluxome>>
true
if this iterator can return another file;
false
otherwise.public RowOrFbaOptOutputFile<F> next()
next
in interface java.util.Iterator<RowOrFbaOptOutputFile<F extends Fluxome>>
public void remove()
UnsupportedOperationException
.
remove
in interface java.util.Iterator<RowOrFbaOptOutputFile<F extends Fluxome>>
java.lang.UnsupportedOperationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |