public class OutputStreamProvider extends Object
| Constructor and Description |
|---|
OutputStreamProvider(File file) |
OutputStreamProvider(File parent,
String filename) |
OutputStreamProvider(String filename) |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
getOutputStream()
Get a single stream.
|
OutputStream |
getOutputStream(String pattern)
Get a custom stream, specifying a pattern.
|
public OutputStreamProvider(String filename)
public OutputStreamProvider(File file)
public OutputStream getOutputStream() throws IOException
IOException - if creating the stream failedpublic OutputStream getOutputStream(String pattern) throws IOException
pattern - a naming pattern for the new streamIOException - if creating the stream failedCopyright © 2012-2017. All Rights Reserved.