|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.Writer
de.olafpanz.translationtable.ASCIIFilterWriter
final class ASCIIFilterWriter
Filters unicodes out and write them as \\uXXXX.
| Field Summary | |
|---|---|
private java.io.Writer |
writer
Next writer in pipe. |
| Fields inherited from class java.io.Writer |
|---|
lock |
| Constructor Summary | |
|---|---|
ASCIIFilterWriter(java.io.Writer writer)
Create new instance |
|
| Method Summary | |
|---|---|
void |
close()
Delegate to next in pipe. |
static java.lang.String |
convert(java.lang.String str)
Convert string to unicode. |
void |
flush()
Delegate to next in pipe. |
void |
write(char[] ac,
int i,
int j)
Filter and Delegate to next in pipe. |
| Methods inherited from class java.io.Writer |
|---|
append, append, append, write, write, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final java.io.Writer writer
| Constructor Detail |
|---|
public ASCIIFilterWriter(java.io.Writer writer)
writer - Next writer in pipe.| Method Detail |
|---|
public static final java.lang.String convert(java.lang.String str)
str - String to convert.
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.Writerjava.io.IOException
public void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.Writerjava.io.IOException
public void write(char[] ac,
int i,
int j)
throws java.io.IOException
write in class java.io.Writerjava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||