public class FileOutputstreamFactory extends java.lang.Object implements OutputstreamFactory
Constructor and Description |
---|
FileOutputstreamFactory() |
Modifier and Type | Method and Description |
---|---|
void |
closeOutputstream(java.io.OutputStream os)
Closes an output stream.
|
void |
closeOutputstream(java.io.Writer os)
Closes an output stream.
|
void |
endSession()
Ends a session of subsequent output stream creations.
|
java.io.OutputStream |
getOutputstream(java.lang.String name)
Returns an output stream for writing.
|
void |
removeStreamSource(java.lang.String name)
Removes the object behind a stream.
|
void |
startSession()
Starts a session of subsequent output stream creations.
|
public void startSession()
startSession
in interface OutputstreamFactory
public void endSession()
endSession
in interface OutputstreamFactory
public java.io.OutputStream getOutputstream(java.lang.String name) throws java.lang.Exception
getOutputstream
in interface OutputstreamFactory
java.lang.Exception
public void closeOutputstream(java.io.OutputStream os) throws java.lang.Exception
closeOutputstream
in interface OutputstreamFactory
java.lang.Exception
public void closeOutputstream(java.io.Writer os) throws java.lang.Exception
closeOutputstream
in interface OutputstreamFactory
java.lang.Exception
public void removeStreamSource(java.lang.String name) throws java.lang.Exception
removeStreamSource
in interface OutputstreamFactory
java.lang.Exception