|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface OutputSink
A generic output sink. Provides output streams and writers upon request.
Copyright 2006 Partner Software, Inc.
| Method Summary | |
|---|---|
java.io.BufferedOutputStream |
createAppendingBufferedOutputStream()
Creates a buffered output stream to write to the file. |
java.io.BufferedWriter |
createAppendingBufferedWriter()
Creates a buffered writer to write to the file. |
java.io.OutputStream |
createAppendingOutputStream()
Creates an output stream to append to the file. |
java.io.Writer |
createAppendingWriter()
Creates a writer to append text to the file. |
java.io.BufferedOutputStream |
createBufferedOutputStream()
Creates a buffered output stream to write to the file. |
java.io.BufferedWriter |
createBufferedWriter()
Creates a buffered writer to write to the file. |
java.io.OutputStream |
createOutputStream()
Creates an output stream to write to the file. |
java.io.Writer |
createWriter()
Creates a writer to write to the file. |
java.net.URI |
getAbsoluteURI()
Absolute URI for this source. |
java.lang.String |
getName()
Simple name for this source. |
java.net.URI |
getURI()
Relative URI for this source. |
| Method Detail |
|---|
java.lang.String getName()
java.net.URI getURI()
java.net.URI getAbsoluteURI()
java.io.OutputStream createOutputStream()
throws java.io.IOException
OutputStream.close()).
Note that this stream is NOT buffered. This is usually a bad thing,
unless you are doing your own buffering or doing a bulk write. So, don't
use this method unless you know what you're doing - use
createBufferedOutputStream() instead.
java.io.IOException
java.io.BufferedOutputStream createBufferedOutputStream()
throws java.io.IOException
OutputStream.close()).
This stream is buffered, which is usually a good thing. You should
generally use this instead of createOutputStream() unless you
know what you're doing.
java.io.IOException
java.io.OutputStream createAppendingOutputStream()
throws java.io.IOException
OutputStream.close()).
Note that this stream is NOT buffered. This is usually a bad thing,
unless you are doing your own buffering or doing a bulk write. So, don't
use this method unless you know what you're doing - use
createAppendingBufferedOutputStream() instead.
java.io.IOException
java.io.BufferedOutputStream createAppendingBufferedOutputStream()
throws java.io.IOException
OutputStream.close()).
This stream is buffered, which is usually a good thing. You should
generally use this instead of createAppendingOutputStream()
unless you know what you're doing.
java.io.IOException
java.io.Writer createWriter()
throws java.io.IOException
Writer.close()). Note that
this writer is NOT buffered. This is usually a bad thing, unless you are
doing your own buffering or doing a bulk write. So, don't use this method
unless you know what you're doing - use createBufferedWriter()
instead.
java.io.IOException
java.io.BufferedWriter createBufferedWriter()
throws java.io.IOException
Writer.close()). This
writer is buffered, which is usually a good thing. You should generally
use this instead of createWriter() unless you know what you're
doing.
java.io.IOException
java.io.Writer createAppendingWriter()
throws java.io.IOException
Writer.close()).
Note that this writer is NOT buffered. This is usually a bad thing,
unless you are doing your own buffering or doing a bulk write. So, don't
use this method unless you know what you're doing - use
createAppendingBufferedWriter() instead.
java.io.IOException
java.io.BufferedWriter createAppendingBufferedWriter()
throws java.io.IOException
OutputStream.close()).
This writer is buffered, which is usually a good thing. You should
generally use this instead of createAppendingWriter() unless you
know what you're doing.
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||