com.liferay.portal.kernel.io
Class Base64InputStream
java.lang.Object
java.io.InputStream
com.liferay.portal.kernel.io.Base64InputStream
- All Implemented Interfaces:
- Closeable, AutoCloseable
public class Base64InputStream
- extends InputStream
Method Summary |
int |
available()
|
protected int |
decode(byte[] bytes,
byte[] outputBuffer,
int position,
int padNumber)
|
protected int |
decodeUnit(byte[] outputBuffer,
int position)
|
protected int |
getByte(char character)
|
protected int |
getEncodedByte()
|
int |
read()
|
int |
read(byte[] bytes,
int offset,
int length)
|
long |
skip(long skip)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Base64InputStream
public Base64InputStream(InputStream inputStream)
available
public int available()
throws IOException
- Overrides:
available
in class InputStream
- Throws:
IOException
read
public int read()
throws IOException
- Specified by:
read
in class InputStream
- Throws:
IOException
read
public int read(byte[] bytes,
int offset,
int length)
throws IOException
- Overrides:
read
in class InputStream
- Throws:
IOException
skip
public long skip(long skip)
throws IOException
- Overrides:
skip
in class InputStream
- Throws:
IOException
decode
protected int decode(byte[] bytes,
byte[] outputBuffer,
int position,
int padNumber)
decodeUnit
protected int decodeUnit(byte[] outputBuffer,
int position)
throws IOException
- Throws:
IOException
getByte
protected int getByte(char character)
getEncodedByte
protected int getEncodedByte()
throws IOException
- Throws:
IOException