foundry.io
Class EscapingWriter
java.lang.Object
|
+--java.io.Writer
|
+--java.io.FilterWriter
|
+--foundry.io.EscapingWriter
- public class EscapingWriter
- extends FilterWriter
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
EMPTY_STRING
private static final String EMPTY_STRING
BUFFER_SIZE
private static final int BUFFER_SIZE
temporaryBuffer
private final char[] temporaryBuffer
escapeChars
private final Properties escapeChars
EscapingWriter
public EscapingWriter(Writer delegate,
char[] chars,
String escapeString)
EscapingWriter
public EscapingWriter(Writer delegate,
char[] chars,
char escapeChar)
EscapingWriter
public EscapingWriter(Writer delegate,
Properties charsAndEscapeTokens)
EscapingWriter
public EscapingWriter(Writer delegate,
String charsToEscape,
char escapeChar)
EscapingWriter
public EscapingWriter(Writer delegate,
String charsToEscape,
String escapeString)
getEscapeString
public final String getEscapeString(Character character)
getEscapeString
public final String getEscapeString(char[] chars)
getEscapeString
public final String getEscapeString(char character)
getEscapeString
public String getEscapeString(String key)
write
public void write(int character)
throws IOException
- Overrides:
write
in class FilterWriter
write
public void write(char[] chars)
throws IOException
- Overrides:
write
in class Writer
write
public void write(String string)
throws IOException
- Overrides:
write
in class Writer
write
public void write(String string,
int startIndex,
int length)
throws IOException
- Overrides:
write
in class FilterWriter
write
public void write(char[] chars,
int startIndex,
int length)
throws IOException
- Overrides:
write
in class FilterWriter
Copyright © 2000 - Laird Jarrett Nelson