Package org.mozilla.jss.util
Class Base64InputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.mozilla.jss.util.Base64InputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
Reads in base-64 encoded input and spits out the raw binary decoding.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private int
private int
private int
private static int[]
private static final int
Fields inherited from class java.io.FilterInputStream
in
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.FilterInputStream
read
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Field Details
-
WOULD_BLOCK
private static final int WOULD_BLOCK- See Also:
-
table
private static int[] table -
prev
private int prev -
savedPrev
private int savedPrev -
state
private int state -
savedState
private int savedState
-
-
Constructor Details
-
Base64InputStream
-
-
Method Details
-
skip
- Overrides:
skip
in classFilterInputStream
- Throws:
IOException
-
read
param block Whether or not to block waiting for input.- Throws:
IOException
-
read
- Overrides:
read
in classFilterInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classFilterInputStream
- Throws:
IOException
-
available
- Overrides:
available
in classFilterInputStream
- Throws:
IOException
-
markSupported
public boolean markSupported()- Overrides:
markSupported
in classFilterInputStream
-
mark
public void mark(int readlimit) - Overrides:
mark
in classFilterInputStream
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFilterInputStream
- Throws:
IOException
-
reset
- Overrides:
reset
in classFilterInputStream
- Throws:
IOException
-
main
- Throws:
Exception
-