com.bytecream.codec
Class Base64EncodingInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended byjava.io.FilterInputStream
          extended bycom.bytecream.codec.Base64EncodingInputStream

public class Base64EncodingInputStream
extends java.io.FilterInputStream

Provides an encoding filter for an input stream. A CRLF is inserted every 76 characters. A CRLF is also written at the end except if there is no input.


Constructor Summary
Base64EncodingInputStream(java.io.InputStream _in)
           
 
Method Summary
 int available()
           
 void close()
           
 void mark(int _limit)
           
 boolean markSupported()
           
 int read()
           
 int read(byte[] _bytes, int _off, int _len)
           
 void reset()
           
 long skip(long _len)
           
 
Methods inherited from class java.io.FilterInputStream
read
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Base64EncodingInputStream

public Base64EncodingInputStream(java.io.InputStream _in)
                          throws java.io.IOException
Method Detail

available

public int available()

mark

public void mark(int _limit)

markSupported

public boolean markSupported()

read

public int read()
         throws java.io.IOException
Throws:
java.io.IOException

read

public int read(byte[] _bytes,
                int _off,
                int _len)
         throws java.io.IOException
Throws:
java.io.IOException

reset

public void reset()
           throws java.io.IOException
Throws:
java.io.IOException

skip

public long skip(long _len)
          throws java.io.IOException
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException



Copyright © 2004 ByteCream.
All Rights Reserved.