public class JDKWriter extends EncodingWriter
log
Constructor and Description |
---|
JDKWriter()
Null-arg constructor for instantiation by com.caucho.vfs.Encoding only.
|
Modifier and Type | Method and Description |
---|---|
EncodingWriter |
create(java.lang.String javaEncoding)
Create a JDK-based reader.
|
java.lang.String |
getJavaEncoding()
Returns the Java encoding for the writer.
|
void |
setJavaEncoding(java.lang.String encoding)
Sets the Java encoding for the writer.
|
void |
write(ByteAppendable os,
char ch)
JDKWriter is only a factory.
|
create, write
public JDKWriter()
public java.lang.String getJavaEncoding()
getJavaEncoding
in class EncodingWriter
public void setJavaEncoding(java.lang.String encoding)
setJavaEncoding
in class EncodingWriter
public EncodingWriter create(java.lang.String javaEncoding)
create
in class EncodingWriter
javaEncoding
- the JDK name for the encoding.public void write(ByteAppendable os, char ch) throws java.io.IOException
write
in class EncodingWriter
ch
- the character to writejava.io.IOException