Package Executable
Class Output
- java.lang.Object
-
- Executable.Output
-
public class Output extends java.lang.Object
Represents the output options to LinkImputeR
-
-
Constructor Summary
Constructors Constructor Description Output(java.io.File summary, java.io.File table, java.io.File control, boolean partial)
ConstructorOutput(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> params)
Constructor from a config (read in from a XML file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.commons.configuration2.tree.ImmutableNode
getConfig()
Get the input config for the final imputation stepboolean
getPartial()
Should we write partial outputjava.io.PrintWriter
getSummaryWriter()
Gets the writer to write summary information tojava.io.PrintWriter
getTableWriter()
Gets the writer to write table information tovoid
writeControl(java.util.List<org.apache.commons.configuration2.tree.ImmutableNode> config)
Write the control file (for the final imputation step)
-
-
-
Constructor Detail
-
Output
public Output(java.io.File summary, java.io.File table, java.io.File control, boolean partial)
Constructor- Parameters:
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)
-
Output
public Output(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> params)
Constructor from a config (read in from a XML file)- Parameters:
params
- The config
-
-
Method Detail
-
getSummaryWriter
public java.io.PrintWriter getSummaryWriter() throws OutputException
Gets the writer to write summary information to- Returns:
- The writer
- Throws:
OutputException
- If there is an IO problem
-
getTableWriter
public java.io.PrintWriter getTableWriter() throws OutputException
Gets the writer to write table information to- Returns:
- The writer
- Throws:
OutputException
- If there is an IO problem
-
getPartial
public boolean getPartial()
Should we write partial output- Returns:
- Whether to write partial output
-
writeControl
public void writeControl(java.util.List<org.apache.commons.configuration2.tree.ImmutableNode> config) throws OutputException
Write the control file (for the final imputation step)- Parameters:
config
- The configuration to write- Throws:
OutputException
- If there is an IO problem
-
getConfig
public org.apache.commons.configuration2.tree.ImmutableNode getConfig()
Get the input config for the final imputation step- Returns:
- The config
-
-