Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.io
Class Base64OutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by com.liferay.portal.kernel.io.Base64OutputStream
All Implemented Interfaces:
Closeable, Flushable

public class Base64OutputStream
extends OutputStream


Constructor Summary
Base64OutputStream(OutputStream outputStream)
           
 
Method Summary
 void close()
           
protected  void encodeUnit(byte byteValue)
           
protected  void encodeUnit(byte byte1, byte byte2)
           
protected  void encodeUnit(byte byte1, byte byte2, byte byte3)
           
 void flush()
           
protected  char getChar(int sixbit)
           
 void write(byte[] bytes)
           
 void write(byte[] bytes, int offset, int length)
           
 void write(int byteValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Base64OutputStream

public Base64OutputStream(OutputStream outputStream)
Method Detail

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Overrides:
close in class OutputStream
Throws:
IOException

flush

public void flush()
           throws IOException
Specified by:
flush in interface Flushable
Overrides:
flush in class OutputStream
Throws:
IOException

write

public void write(byte[] bytes)
           throws IOException
Overrides:
write in class OutputStream
Throws:
IOException

write

public void write(byte[] bytes,
                  int offset,
                  int length)
           throws IOException
Overrides:
write in class OutputStream
Throws:
IOException

write

public void write(int byteValue)
           throws IOException
Specified by:
write in class OutputStream
Throws:
IOException

encodeUnit

protected void encodeUnit(byte byteValue)
                   throws IOException
Throws:
IOException

encodeUnit

protected void encodeUnit(byte byte1,
                          byte byte2)
                   throws IOException
Throws:
IOException

encodeUnit

protected void encodeUnit(byte byte1,
                          byte byte2,
                          byte byte3)
                   throws IOException
Throws:
IOException

getChar

protected char getChar(int sixbit)

Liferay 6.1.2-ce-ga3