public static class URIConverter.WriteableOutputStream extends java.io.OutputStream implements URIConverter.Writeable
| Modifier and Type | Class and Description |
|---|---|
protected class |
URIConverter.WriteableOutputStream.Buffer |
| Modifier and Type | Field and Description |
|---|---|
protected URIConverter.WriteableOutputStream.Buffer |
buffer |
protected java.lang.String |
encoding |
protected java.io.Writer |
writer |
| Constructor and Description |
|---|
WriteableOutputStream(java.io.Writer writer,
java.lang.String encoding) |
| Modifier and Type | Method and Description |
|---|---|
java.io.Writer |
asWriter()
Returns a writer that provides access to the same underlying data as the input stream itself.
|
void |
close() |
void |
flush() |
java.lang.String |
getEncoding()
Returns the encoding used to convert the writer's bytes to characters.
|
void |
write(int b) |
protected java.lang.String encoding
protected java.io.Writer writer
protected URIConverter.WriteableOutputStream.Buffer buffer
public WriteableOutputStream(java.io.Writer writer,
java.lang.String encoding)
public void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic java.io.Writer asWriter()
URIConverter.WriteableasWriter in interface URIConverter.Writeablepublic java.lang.String getEncoding()
URIConverter.WriteablegetEncoding in interface URIConverter.Writeablepublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.OutputStreamjava.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOExceptionCopyright © 2018. Licensed under the Eclipse Public License v1.0. All rights reserved.
Submit a bug or feature