Inheritance diagram for tit.summary.io.SummarySASWriter:
Public Member Functions | |
SummarySASWriter (PrintStream outputinit, String name) | |
void | writeSummary (Summary summary, Personality personality) throws WritingSummaryFailedException |
void | closeWriter () throws ClosingWriterFailedException |
Private Member Functions | |
String | filterMultipleSpaces (String string) |
Private Attributes | |
PrintStream | output |
Static Private Attributes | |
static final String | MULTIPLE_SPACES = " " |
static final DateFormat | DATE_FORMAT = new SimpleDateFormat("dd/MM/yyy") |
static final DateFormat | TIME_FORMAT = new SimpleDateFormat("HH:mm:ss") |
tit.summary.io.SummarySASWriter.SummarySASWriter | ( | PrintStream | outputinit, | |
String | name | |||
) |
Constructs a new SummaryCSVWriter
.
outputinit | The <PrintStream/code> to which the output is written. | |
name | The name of the data step. |
String tit.summary.io.SummarySASWriter.filterMultipleSpaces | ( | String | string | ) | [private] |
Filters multiple spaces in a string.
string | The string to filter. |
void tit.summary.io.SummarySASWriter.writeSummary | ( | Summary | summary, | |
Personality | personality | |||
) | throws WritingSummaryFailedException [virtual] |
Writes a summary.
summary | The summary to write. | |
personality | The personality belonging to summary . |
WritingSummaryFailedException | Is thrown when the writing of the summary fails. |
Implements tit.summary.io.SummaryWriter.
void tit.summary.io.SummarySASWriter.closeWriter | ( | ) | throws ClosingWriterFailedException [virtual] |
Closes this writer. No further writes are allowed after this method is called.
ClosingWriterFailedException | Is thrown when writing fails. |
Implements tit.summary.io.SummaryWriter.
final String tit.summary.io.SummarySASWriter.MULTIPLE_SPACES = " " [static, private] |
Multiple spaces.
final DateFormat tit.summary.io.SummarySASWriter.DATE_FORMAT = new SimpleDateFormat("dd/MM/yyy") [static, private] |
The SAS date format.
final DateFormat tit.summary.io.SummarySASWriter.TIME_FORMAT = new SimpleDateFormat("HH:mm:ss") [static, private] |
The SAS time format.
PrintStream tit.summary.io.SummarySASWriter.output [private] |
The <PrintStream/code> to which the output is written.