| java.lang.Object com.caucho.vfs.i18n.EncodingWriter com.caucho.vfs.i18n.WindowsHackWriter
WindowsHackWriter | public class WindowsHackWriter extends EncodingWriter (Code) | | Implements an encoding char-to-byte writer for the windows hack
factory.
|
Constructor Summary | |
public | WindowsHackWriter() Null-arg constructor for instantiation by com.caucho.vfs.Encoding only. |
Method Summary | |
public EncodingWriter | create(String javaEncoding) Create a windows-hack writer using on the OutputStream to send bytes.
Parameters: os - the write stream receiving the bytes. Parameters: javaEncoding - the JDK name for the encoding. | public String | getJavaEncoding() Returns the Java encoding for the writer. | public void | write(OutputStreamWithBuffer os, char ch) Writes a character to the output stream with the correct encoding. | public void | write(OutputStreamWithBuffer os, char[] cbuf, int off, int len) Writes into a character buffer using the correct encoding. |
WindowsHackWriter | public WindowsHackWriter()(Code) | | Null-arg constructor for instantiation by com.caucho.vfs.Encoding only.
|
create | public EncodingWriter create(String javaEncoding)(Code) | | Create a windows-hack writer using on the OutputStream to send bytes.
Parameters: os - the write stream receiving the bytes. Parameters: javaEncoding - the JDK name for the encoding. the windows-hack writer. |
getJavaEncoding | public String getJavaEncoding()(Code) | | Returns the Java encoding for the writer.
|
write | public void write(OutputStreamWithBuffer os, char[] cbuf, int off, int len) throws IOException(Code) | | Writes into a character buffer using the correct encoding.
Parameters: cbuf - character array with the data to write. Parameters: off - starting offset into the character array. Parameters: len - the number of characters to write. |
|
|