public class Output
extends java.lang.Object
Constructor | Description |
---|---|
Output(java.io.File summary,
java.io.File table,
java.io.File control,
boolean partial) |
Constructor
|
Output(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> params) |
Constructor from a config (read in from a XML file)
|
Modifier and Type | Method | Description |
---|---|---|
org.apache.commons.configuration2.tree.ImmutableNode |
getConfig() |
Get the input config for the final imputation step
|
boolean |
getPartial() |
Should we write partial output
|
java.io.PrintWriter |
getSummaryWriter() |
Gets the writer to write summary information to
|
java.io.PrintWriter |
getTableWriter() |
Gets the writer to write table information to
|
void |
writeControl(java.util.List<org.apache.commons.configuration2.tree.ImmutableNode> config) |
Write the control file (for the final imputation step)
|
public Output(java.io.File summary, java.io.File table, java.io.File control, boolean partial)
summary
- The file to write the summary results totable
- The file to write the table results tocontrol
- The file to write the control file (for the final
imputation stage) topartial
- Whether to return partial results (i.e. for the imputation
and calling steps)public Output(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> params)
params
- The configpublic java.io.PrintWriter getSummaryWriter() throws OutputException
OutputException
- If there is an IO problempublic java.io.PrintWriter getTableWriter() throws OutputException
OutputException
- If there is an IO problempublic boolean getPartial()
public void writeControl(java.util.List<org.apache.commons.configuration2.tree.ImmutableNode> config) throws OutputException
config
- The configuration to writeOutputException
- If there is an IO problempublic org.apache.commons.configuration2.tree.ImmutableNode getConfig()