Package output
Class AbstractOutput
- java.lang.Object
-
- output.AbstractOutput
-
- All Implemented Interfaces:
output.InterfaceOutput
public abstract class AbstractOutput extends Object implements output.InterfaceOutput
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractOutput.Type
-
Field Summary
Fields Modifier and Type Field Description String
output_folder
String
prefix
Scenario
scenario
AbstractOutput.Type
type
boolean
write_to_file
Writer
writer
-
Constructor Summary
Constructors Constructor Description AbstractOutput(Scenario scenario, String prefix, String output_folder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
String
get_output_file()
AbstractOutput.Type
getType()
void
initialize(Scenario scenario)
static void
make_time_chart(org.jfree.data.xy.XYSeriesCollection dataset, String title, String yaxis_label, String filename)
void
open()
void
validate_post_init(error.OTMErrorLog errorLog)
-
-
-
Field Detail
-
scenario
public Scenario scenario
-
type
public AbstractOutput.Type type
-
output_folder
public final String output_folder
-
writer
public Writer writer
-
prefix
public final String prefix
-
write_to_file
public final boolean write_to_file
-
-
Method Detail
-
open
public void open() throws error.OTMException
- Specified by:
open
in interfaceoutput.InterfaceOutput
- Throws:
error.OTMException
-
close
public void close() throws error.OTMException
- Specified by:
close
in interfaceoutput.InterfaceOutput
- Throws:
error.OTMException
-
validate_post_init
public void validate_post_init(error.OTMErrorLog errorLog)
-
initialize
public void initialize(Scenario scenario) throws error.OTMException
- Throws:
error.OTMException
-
get_output_file
public String get_output_file()
- Specified by:
get_output_file
in interfaceoutput.InterfaceOutput
-
getType
public final AbstractOutput.Type getType()
-
-