uk.ac.starlink.util
Class Base64InputStream

java.lang.Object
  |
  +--java.io.InputStream
        |
        +--java.io.FilterInputStream
              |
              +--uk.ac.starlink.util.Base64InputStream

public class Base64InputStream
extends FilterInputStream

Reads in base-64 encoded input and spits out the raw binary decoding.


Field Summary
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
Base64InputStream(InputStream in)
           
 
Method Summary
 int available()
           
 void close()
           
 void mark(int readlimit)
           
 boolean markSupported()
           
 int read()
           
 int read(byte[] b, int off, int len)
           
 void reset()
           
 long skip(long n)
           
 
Methods inherited from class java.io.FilterInputStream
read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Base64InputStream

public Base64InputStream(InputStream in)
Method Detail

skip

public long skip(long n)
          throws IOException
Overrides:
skip in class FilterInputStream
IOException

read

public int read()
         throws IOException
Overrides:
read in class FilterInputStream
IOException

read

public int read(byte[] b,
                int off,
                int len)
         throws IOException
Overrides:
read in class FilterInputStream
IOException

available

public int available()
              throws IOException
Overrides:
available in class FilterInputStream
IOException

markSupported

public boolean markSupported()
Overrides:
markSupported in class FilterInputStream

mark

public void mark(int readlimit)
Overrides:
mark in class FilterInputStream

close

public void close()
           throws IOException
Overrides:
close in class FilterInputStream
IOException

reset

public void reset()
           throws IOException
Overrides:
reset in class FilterInputStream
IOException

Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved.