public interface OutputSink
Copyright 2006 Partner Software, Inc.
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.IOExceptionjava.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.IOExceptionjava.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.IOExceptionjava.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.IOExceptionjava.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.IOExceptionjava.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.IOExceptionjava.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.IOExceptionjava.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