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:
- java.io.Closeable, java.io.Flushable, java.lang.Appendable
- Enclosing class:
- Utility
private static class Utility.JavaWriter
- extends java.io.FilterWriter
Encode bytes into valid java identifier characters.
Used by encode()
Fields inherited from class java.io.FilterWriter |
out |
Fields inherited from class java.io.Writer |
lock |
Method Summary |
void |
write(char[] cbuf,
int off,
int len)
|
void |
write(int b)
|
void |
write(java.lang.String str,
int off,
int len)
|
Methods inherited from class java.io.FilterWriter |
close, flush |
Methods inherited from class java.io.Writer |
append, append, append, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utility.JavaWriter
public Utility.JavaWriter(java.io.Writer out)
write
public void write(int b)
throws java.io.IOException
- Overrides:
write
in class java.io.FilterWriter
- Throws:
java.io.IOException
write
public void write(char[] cbuf,
int off,
int len)
throws java.io.IOException
- Overrides:
write
in class java.io.FilterWriter
- Throws:
java.io.IOException
write
public void write(java.lang.String str,
int off,
int len)
throws java.io.IOException
- Overrides:
write
in class java.io.FilterWriter
- Throws:
java.io.IOException