org.freehep.util.io
Class Base64InputStream
java.lang.Object
java.io.InputStream
org.freehep.util.io.Base64InputStream
- All Implemented Interfaces:
- Closeable
public class Base64InputStream
- extends InputStream
The Base64InputStream decodes binary data according to RFC 2045.
IMPORTANT: inherits from InputStream rather than FilterInputStream so that
the correct read(byte[], int, int) method is used.
- Version:
- $Id: Base64InputStream.java 8584 2006-08-10 23:06:37Z duns $
- Author:
- Mark Donszelmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Base64InputStream
public Base64InputStream(InputStream input)
- Creates a Base64 input stream for given input
- Parameters:
input
- to be read from
read
public int read()
throws IOException
- Specified by:
read
in class InputStream
- Throws:
IOException
getLineNo
public int getLineNo()
- Returns:
- current line number
Copyright © 2000-2007 FreeHEP. All Rights Reserved.