public class IOHelper
extends java.lang.Object
Constructor and Description |
---|
IOHelper() |
Modifier and Type | Method and Description |
---|---|
(package private) static java.io.File |
getFile(java.lang.String[] cmd,
java.lang.String key,
boolean mustExist)
Checks -i options and return the File if one was provided, null otherwise
|
(package private) static java.io.Writer |
getWriter(java.io.File file) |
(package private) static java.util.List<java.lang.String> |
loadParameters(java.io.File paramsfile)
Load parameters from file
|
(package private) static void |
writeOut(java.io.Writer writer,
Alignment align)
Outputs clustal formatted alignment into the file represented by the
outStream
|
(package private) static void |
writeOut(java.io.Writer writer,
ScoreManager results)
Outputs AAcon results into the file represented by the outStream
|
static java.io.File getFile(java.lang.String[] cmd, java.lang.String key, boolean mustExist) throws java.io.IOException
cmd
- key
- mustExist
- java.io.IOException
static java.util.List<java.lang.String> loadParameters(java.io.File paramsfile) throws java.io.IOException
java.io.IOException
static java.io.Writer getWriter(java.io.File file) throws java.io.IOException
java.io.IOException
static void writeOut(java.io.Writer writer, Alignment align)
outStream
- align
- the alignment to outputstatic void writeOut(java.io.Writer writer, ScoreManager results)
outStream
- result
- the AACon scores to output