com.sshtools.j2ssh.util
Class Base64.InputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by com.sshtools.j2ssh.util.Base64.InputStream
All Implemented Interfaces:
java.io.Closeable
Enclosing class:
Base64

public static class Base64.InputStream
extends java.io.FilterInputStream


Field Summary
private  byte[] buffer
           
private  int bufferLength
           
private  boolean encode
           
private  int numSigBytes
           
private  int position
           
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
Base64.InputStream(java.io.InputStream in)
           
Base64.InputStream(java.io.InputStream in, boolean encode)
           
 
Method Summary
 int read()
           
 int read(byte[] dest, int off, int len)
           
 
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

buffer

private byte[] buffer

encode

private boolean encode

bufferLength

private int bufferLength

numSigBytes

private int numSigBytes

position

private int position
Constructor Detail

Base64.InputStream

public Base64.InputStream(java.io.InputStream in)

Base64.InputStream

public Base64.InputStream(java.io.InputStream in,
                          boolean encode)
Method Detail

read

public int read()
         throws java.io.IOException
Overrides:
read in class java.io.FilterInputStream
Throws:
java.io.IOException

read

public int read(byte[] dest,
                int off,
                int len)
         throws java.io.IOException
Overrides:
read in class java.io.FilterInputStream
Throws:
java.io.IOException