public class FileStatsWriter extends StatsWriter
fileName, writer
Constructor and Description |
---|
FileStatsWriter(String fileName)
Instantiates a new file stats writer.
|
Modifier and Type | Method and Description |
---|---|
void |
writeHeader()
Write header.
|
void |
writeLine(int nodes,
int species,
int reactions,
int compartments,
int functions,
int parameters,
int rules,
int events,
int units,
int variables,
int components,
boolean curated,
String modelType,
Date date,
String version,
String model,
String modelName,
String url)
Write line.
|
close, create
public FileStatsWriter(String fileName)
fileName
- the name of the file to write topublic void writeHeader() throws IOException
StatsWriter
writeHeader
in class StatsWriter
IOException
- Signals that an I/O exception has occurred.public void writeLine(int nodes, int species, int reactions, int compartments, int functions, int parameters, int rules, int events, int units, int variables, int components, boolean curated, String modelType, Date date, String version, String model, String modelName, String url) throws IOException
nodes
- the nodesspecies
- the speciesreactions
- the reactionscompartments
- the compartmentsfunctions
- the functionsparameters
- the parametersrules
- the rulesevents
- the eventsunits
- the unitsvariables
- the variablescomponents
- the componentscurated
- the curatedmodelType
- the model typedate
- the dateversion
- the verionmodel
- the modelmodelName
- the model nameurl
- the urlIOException
- Signals that an I/O exception has occurred.Copyright © 2018 SEMS project @ University of Rostock. All rights reserved.