Package com.kitfox.svg.util
Class Base64OutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.FilterOutputStream
-
- com.kitfox.svg.util.Base64OutputStream
-
- All Implemented Interfaces:
Base64Consts,java.io.Closeable,java.io.Flushable,java.lang.AutoCloseable
public class Base64OutputStream extends java.io.FilterOutputStream implements Base64Consts
-
-
Field Summary
Fields Modifier and Type Field Description (package private) intbitsUsed(package private) intbuf(package private) intcharsPrinted-
Fields inherited from interface com.kitfox.svg.util.Base64Consts
BASE64_CHARS
-
-
Constructor Summary
Constructors Constructor Description Base64OutputStream(java.io.OutputStream out)Creates a new instance of Base64OutputSream
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidwrite(int b)private voidwriteBits()
-
-
-
Method Detail
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Overrides:
closein classjava.io.FilterOutputStream- Throws:
java.io.IOException
-
write
public void write(int b) throws java.io.IOException- Overrides:
writein classjava.io.FilterOutputStream- Throws:
java.io.IOException
-
writeBits
private void writeBits() throws java.io.IOException- Throws:
java.io.IOException
-
-