Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.io
Class Base64InputStream

java.lang.Object
  extended by java.io.InputStream
      extended by com.liferay.portal.kernel.io.Base64InputStream
All Implemented Interfaces:
Closeable

public class Base64InputStream
extends InputStream


Constructor Summary
Base64InputStream(InputStream 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[] buffer, int offset, int length)
           
 long skip(long skip)
           
 
Methods inherited from class java.io.InputStream
close, mark, markSupported, read, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Base64InputStream

public Base64InputStream(InputStream inputStream)
Method Detail

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[] buffer,
                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

Liferay 6.1.2-ce-ga3