|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.io.Writer | +--com.kawao.kakasi.KanjiOutput
An object of this class is used as destination of the conversion.
Kakasi.getOutput()
Fields inherited from class java.io.Writer |
lock |
Method Summary | |
void |
close()
Close the stream. |
void |
flush()
Flush the stream. |
boolean |
isAutoFlushMode()
Gets the auto flush mode property value. |
boolean |
isSplitMode()
Gets the split mode property value. |
void |
setAutoFlushMode(boolean newMode)
Sets the auto flush mode property value. |
void |
setSplitMode(boolean newMode)
Sets the split mode property value. |
void |
setWriter(java.io.Writer newWriter)
Sets the writer object. |
void |
write(char[] cbuf,
int off,
int len)
Write a portion of an array of characters. |
void |
write(int c)
Write a single character. |
Methods inherited from class java.io.Writer |
write, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void setWriter(java.io.Writer newWriter)
newWriter
- new writer object.public void setAutoFlushMode(boolean newMode)
newMode
- if true the output buffer is flushed when a newline
character is written.public boolean isAutoFlushMode()
public void setSplitMode(boolean newMode)
newMode
- the new split mode.public boolean isSplitMode()
public void write(char[] cbuf, int off, int len) throws java.io.IOException
write
in class java.io.Writer
cbuf
- Array of charactersoff
- Offset from which to start writing characterslen
- Number of characters to writejava.io.IOException
- If an I/O error occurspublic void write(int c) throws java.io.IOException
write
in class java.io.Writer
c
- int specifying a character to be written.java.io.IOException
- If an I/O error occurspublic void flush() throws java.io.IOException
flush
in class java.io.Writer
java.io.IOException
- If an I/O error occurspublic void close() throws java.io.IOException
close
in class java.io.Writer
java.io.IOException
- If an I/O error occurs
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |