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) int
bitsUsed
(package private) int
buf
(package private) int
charsPrinted
-
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 void
close()
void
write(int b)
private void
writeBits()
-
-
-
Method Detail
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Overrides:
close
in classjava.io.FilterOutputStream
- Throws:
java.io.IOException
-
write
public void write(int b) throws java.io.IOException
- Overrides:
write
in classjava.io.FilterOutputStream
- Throws:
java.io.IOException
-
writeBits
private void writeBits() throws java.io.IOException
- Throws:
java.io.IOException
-
-