|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectariba.util.core.FileOutputStreamHolder
public class FileOutputStreamHolder
Constructor Summary | |
---|---|
FileOutputStreamHolder(java.io.File file)
|
Method Summary | |
---|---|
java.io.OutputStream |
getOutputStream()
Returns an OutputStream . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileOutputStreamHolder(java.io.File file)
Method Detail |
---|
public java.io.OutputStream getOutputStream() throws java.io.IOException
OutputStreamHolder
OutputStream
.
No guarantee is offered as to whether this is a new stream on
whatever the underlying resource is or whether the same stream handle
may be returned from multiple calls to this method. However, a typical
scenario would be that an instance of this interface would only be
available to one client and that client would use it once.
The semantics are left intentionally weak to allow different types of
use of this interface.
Important note: The obligation is on the caller to close the
returned stream when he is finished with it.
getOutputStream
in interface OutputStreamHolder
java.io.IOException
- if an exception occurs while creating or opening
the stream
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |