com.sun.cldc.i18n.j2me
Class ISO8859_1_Writer
java.lang.Object
   java.io.Writer
java.io.Writer
       com.sun.cldc.i18n.StreamWriter
com.sun.cldc.i18n.StreamWriter
           com.sun.cldc.i18n.j2me.ISO8859_1_Writer
com.sun.cldc.i18n.j2me.ISO8859_1_Writer
- public class ISO8859_1_Writer 
- extends StreamWriter
Default class for writing output streams.
- Version:
- 1.0 10/18/99
 
 
 
 
| Method Summary | 
|  int | sizeOf(char[] array,
       int offset,
       int length)Get the size in bytes of an array of chars
 | 
|  void | write(char[] cbuf,
      int off,
      int len)Write a portion of an array of characters.
 | 
|  void | write(int c)Write a single character.
 | 
|  void | write(String str,
      int off,
      int len)Write a portion of a string.
 | 
 
 
 
 
ISO8859_1_Writer
public ISO8859_1_Writer()
write
public void write(int c)
           throws IOException
- Write a single character.
 
- 
- Overrides:
- writein class- Writer
 
- 
- Parameters:
- c- int specifying a character to be written.
- Throws:
- IOException- If an I/O error occurs
 
write
public void write(char[] cbuf,
                  int off,
                  int len)
           throws IOException
- Write a portion of an array of characters.
 
- 
- Specified by:
- writein class- Writer
 
- 
- Parameters:
- cbuf- Buffer of characters to be written
- off- Offset from which to start reading characters
- len- Number of characters to be written
- Throws:
- IOException- If an I/O error occurs
 
write
public void write(String str,
                  int off,
                  int len)
           throws IOException
- Write a portion of a string.
 
- 
- Overrides:
- writein class- Writer
 
- 
- Parameters:
- str- String to be written
- off- Offset from which to start reading characters
- len- Number of characters to be written
- Throws:
- IOException- If an I/O error occurs
 
sizeOf
public int sizeOf(char[] array,
                  int offset,
                  int length)
- Get the size in bytes of an array of chars
 
- 
- Specified by:
- sizeOfin class- StreamWriter
 
- 
 
"For updated information see the Java FRC site"