org.apache.bcel.classfile
Class Utility.JavaWriter
java.lang.Object
java.io.Writer
java.io.FilterWriter
org.apache.bcel.classfile.Utility.JavaWriter
- All Implemented Interfaces:
- Closeable, Flushable, Appendable
- Enclosing class:
- Utility
private static class Utility.JavaWriter
- extends FilterWriter
Encode bytes into valid java identifier characters.
Used by encode()
Method Summary |
void |
write(char[] cbuf,
int off,
int len)
|
void |
write(int b)
|
void |
write(String str,
int off,
int len)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utility.JavaWriter
public Utility.JavaWriter(Writer out)
write
public void write(int b)
throws IOException
- Overrides:
write
in class FilterWriter
- Throws:
IOException
write
public void write(char[] cbuf,
int off,
int len)
throws IOException
- Overrides:
write
in class FilterWriter
- Throws:
IOException
write
public void write(String str,
int off,
int len)
throws IOException
- Overrides:
write
in class FilterWriter
- Throws:
IOException