org.bolson
Class Base64Writer
java.lang.Object
java.io.Writer
java.io.FilterWriter
org.bolson.Base64Writer
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable, java.lang.Appendable
public class Base64Writer
- extends java.io.FilterWriter
Fields inherited from class java.io.FilterWriter |
out |
Fields inherited from class java.io.Writer |
lock |
Method Summary |
void |
flush()
note, this will break the base64 stream in a non-concatenateable way |
void |
setHtmlMode(boolean htmlMode)
|
void |
write(char[] b,
int off,
int len)
|
void |
write(int b)
|
Methods inherited from class java.io.FilterWriter |
close, write |
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 |
Base64Writer
public Base64Writer(java.io.Writer out)
Base64Writer
public Base64Writer(java.io.Writer out,
boolean htmlMode)
setHtmlMode
public void setHtmlMode(boolean htmlMode)
flush
public void flush()
throws java.io.IOException
- note, this will break the base64 stream in a non-concatenateable way
- Specified by:
flush
in interface java.io.Flushable
- Overrides:
flush
in class java.io.FilterWriter
- Throws:
java.io.IOException
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[] b,
int off,
int len)
throws java.io.IOException
- Overrides:
write
in class java.io.FilterWriter
- Throws:
java.io.IOException