|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.result.textwriter.SingleStreamOutput
public class SingleStreamOutput

Class to output all result data to a single stream (e.g. Stdout, single file)
| Field Summary | |
|---|---|
private PrintStream |
stream
Output stream |
| Constructor Summary | |
|---|---|
SingleStreamOutput()
Constructor using stdout. |
|
SingleStreamOutput(boolean gzip)
Constructor using stdout |
|
SingleStreamOutput(File out)
Constructor with given file name. |
|
SingleStreamOutput(File out,
boolean gzip)
Constructor with given file name. |
|
SingleStreamOutput(FileDescriptor out)
Constructor with given FileDescriptor |
|
SingleStreamOutput(FileDescriptor out,
boolean gzip)
Constructor with given FileDescriptor |
|
SingleStreamOutput(FileOutputStream out)
Constructor with given FileOutputStream. |
|
SingleStreamOutput(FileOutputStream out,
boolean gzip)
Constructor with given FileOutputStream. |
|
| Method Summary | |
|---|---|
void |
closeAllStreams()
Close output stream. |
PrintStream |
openStream(String filename)
Return the objects shared print stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private PrintStream stream
| Constructor Detail |
|---|
public SingleStreamOutput()
throws IOException
IOException - on IO error
public SingleStreamOutput(boolean gzip)
throws IOException
gzip - Use gzip compression
IOException - on IO error
public SingleStreamOutput(File out)
throws IOException
out - filename
IOException - on IO error
public SingleStreamOutput(File out,
boolean gzip)
throws IOException
out - filenamegzip - Use gzip compression
IOException - on IO error
public SingleStreamOutput(FileDescriptor out)
throws IOException
out - file descriptor
IOException - on IO error
public SingleStreamOutput(FileDescriptor out,
boolean gzip)
throws IOException
out - file descriptorgzip - Use gzip compression
IOException - on IO error
public SingleStreamOutput(FileOutputStream out)
throws IOException
out - File output stream
IOException - on IO error
public SingleStreamOutput(FileOutputStream out,
boolean gzip)
throws IOException
out - File output streamgzip - Use gzip compression
IOException - on IO error| Method Detail |
|---|
public PrintStream openStream(String filename)
openStream in interface StreamFactoryfilename - ignored filename for SingleStreamOutput, as the name suggests
public void closeAllStreams()
closeAllStreams in interface StreamFactory
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||