|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.Writer
com.sun.cldc.i18n.StreamWriter
public abstract class StreamWriter
General prototype for character converting stream writers.
Field Summary | |
---|---|
OutputStream |
out
Output stream to write to |
Fields inherited from class java.io.Writer |
---|
lock |
Constructor Summary | |
---|---|
StreamWriter()
|
Method Summary | |
---|---|
void |
close()
Close the writer and the output stream. |
void |
flush()
Flush the writer and the output stream. |
Writer |
open(OutputStream out,
String enc)
Open the writer |
abstract int |
sizeOf(char[] array,
int offset,
int length)
Get the size in bytes of an array of chars |
Methods inherited from class java.io.Writer |
---|
write, write, write, write, write |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public OutputStream out
Constructor Detail |
---|
public StreamWriter()
Method Detail |
---|
public Writer open(OutputStream out, String enc) throws UnsupportedEncodingException
UnsupportedEncodingException
public void flush() throws IOException
flush
in class Writer
IOException
- If an I/O error occurspublic void close() throws IOException
close
in class Writer
IOException
- If an I/O error occurspublic abstract int sizeOf(char[] array, int offset, int length)
|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |