java.lang.Object
java.io.Writer
java.io.FilterWriter
org.apache.bcel.classfile.Utility.JavaWriter
- Enclosing class:
- Utility
- private static class Utility.JavaWriter
- extends java.io.FilterWriter
Encode bytes into valid java identifier characters.
Used by encode()
|
Method Summary |
void |
write(char[] cbuf,
int off,
int len)
This method writes len chars from the array buf
starting at index offset to the underlying
Writer. |
void |
write(int b)
This method writes a single char of output to the underlying
Writer. |
void |
write(java.lang.String str,
int off,
int len)
This method writes len chars from the String
starting at position offset. |
| 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
- Description copied from class:
java.io.FilterWriter
- This method writes a single char of output to the underlying
Writer.
write
public void write(char[] cbuf,
int off,
int len)
throws java.io.IOException
- Description copied from class:
java.io.FilterWriter
- This method writes
len chars from the array buf
starting at index offset to the underlying
Writer.
write
public void write(java.lang.String str,
int off,
int len)
throws java.io.IOException
- Description copied from class:
java.io.FilterWriter
- This method writes
len chars from the String
starting at position offset.