public interface OutputStreamProvider
| Modifier and Type | Method and Description |
|---|---|
void |
close()
release resources.
|
DataOutputStream |
create(String name)
create an output stream using the given name.
|
DataOutputStream create(String name) throws IOException
name - name of the created output stream
It is used as the name of the directory if the created output stream is a file output streamIOExceptionvoid close() throws IOException
IOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.