
public interface StreamFactory
| Modifier and Type | Method and Description |
|---|---|
void |
closeAllStreams()
Close (and forget) all streams the factory has opened.
|
PrintStream |
openStream(String label)
Retrieve a print stream for output using the given label.
|
PrintStream openStream(String label) throws IOException
label - Output label.IOException - on IO errorvoid closeAllStreams()