org.mortbay.jetty
public static class AbstractGenerator.OutputWriter extends java.io.Writer
AbstractGenerator.Output stream and provide
character encodings.
The UTF-8 encoding is done by this class and no additional
buffers or Writers are used.
The UTF-8 code was inspired by http://javolution.org| Constructor and Description |
|---|
AbstractGenerator.OutputWriter(AbstractGenerator.Output out) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
setCharacterEncoding(java.lang.String encoding) |
void |
write(char[] s,
int offset,
int length) |
void |
write(java.lang.String s,
int offset,
int length) |
public AbstractGenerator.OutputWriter(AbstractGenerator.Output out)
public void setCharacterEncoding(java.lang.String encoding)
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.Writerjava.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.Writerjava.io.IOExceptionpublic void write(java.lang.String s,
int offset,
int length)
throws java.io.IOException
write in class java.io.Writerjava.io.IOExceptionpublic void write(char[] s,
int offset,
int length)
throws java.io.IOException
write in class java.io.Writerjava.io.IOExceptionCopyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.