|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdata.complexes.ComplexSetWriter
public class ComplexSetWriter
This class contains static methods to write complex sets to files or streams. It is not instantiatable.
Complex sets are written out as one complex per line where the proteins of each complexes are seperated by a specified delimiter character (by default the TAB character).
Complex
,
ComplexSet
Field Summary | |
---|---|
static String |
DEFAULT_DELIMITER
Default delimiter which seperates the proteins of a complex: TAB |
Constructor Summary | |
---|---|
ComplexSetWriter()
|
Method Summary | |
---|---|
static void |
writeComplexes(ComplexSet set,
File outfile)
Writes a complex set to a specified file. |
static void |
writeComplexes(ComplexSet set,
File outfile,
String delimiter)
Writes a complex set to a specified file. |
static void |
writeComplexes(ComplexSet set,
OutputStream outstream)
Writes a complex set to an OutputStream. |
static void |
writeComplexes(ComplexSet set,
OutputStream outstream,
String delimiter)
Writes a complex set to an OutputStream. |
static void |
writeComplexes(ComplexSet set,
String outfile)
Writes a complex set to a specified file. |
static void |
writeComplexes(ComplexSet set,
String outfile,
String delimiter)
Writes a complex set to a specified file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_DELIMITER
Constructor Detail |
---|
public ComplexSetWriter()
Method Detail |
---|
public static void writeComplexes(ComplexSet set, String outfile) throws IOException
set
- the set to be writtenoutfile
- path to the output file
IOException
- if the file could not be writtenpublic static void writeComplexes(ComplexSet set, String outfile, String delimiter) throws IOException
set
- the set to be writtenoutfile
- path to the output filedelimiter
- custom delimiter character
IOException
- if the file could not be writtenpublic static void writeComplexes(ComplexSet set, File outfile) throws IOException
set
- the set to be writtenoutfile
- path to the output file
IOException
- if the file could not be writtenpublic static void writeComplexes(ComplexSet set, File outfile, String delimiter) throws IOException
set
- the set to be writtenoutfile
- path to the output filedelimiter
- custom delimiter character
IOException
- if the file could not be writtenpublic static void writeComplexes(ComplexSet set, OutputStream outstream)
set
- the set to be writtenoutstream
- output stream the complexes will be written topublic static void writeComplexes(ComplexSet set, OutputStream outstream, String delimiter)
set
- the set to be writtenoutstream
- output stream the complexes will be written todelimiter
- custom delimiter character
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |