public interface StreamFactory
extends java.lang.AutoCloseable
Note: these classes need to be rewritten. Contributions welcome!
Modifier and Type | Method and Description |
---|---|
void |
close()
Close stream factory.
|
void |
closeStream(java.io.PrintStream stream)
Close the given output stream (Note: when writing to a single stream
output, it will actually not be closed!)
|
java.io.PrintStream |
openStream(java.lang.String label)
Retrieve a print stream for output using the given label.
|
java.io.PrintStream openStream(java.lang.String label) throws java.io.IOException
label
- Output label.java.io.IOException
- on IO errorvoid closeStream(java.io.PrintStream stream)
stream
- Stream to closevoid close() throws java.io.IOException
close
in interface java.lang.AutoCloseable
java.io.IOException
Copyright © 2019 ELKI Development Team. License information.