org.apache.james.mime4j.codec
Class Base64InputStream
java.lang.Object
java.io.InputStream
org.apache.james.mime4j.codec.Base64InputStream
- All Implemented Interfaces:
- Closeable
public class Base64InputStream
- extends InputStream
Performs Base-64 decoding on an underlying stream.
Method Summary |
void |
close()
|
int |
read()
|
int |
read(byte[] buffer)
|
int |
read(byte[] buffer,
int offset,
int length)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Base64InputStream
public Base64InputStream(InputStream in)
Base64InputStream
public Base64InputStream(InputStream in,
boolean strict)
read
public int read()
throws IOException
- Specified by:
read
in class InputStream
- Throws:
IOException
read
public int read(byte[] buffer)
throws IOException
- Overrides:
read
in class InputStream
- Throws:
IOException
read
public int read(byte[] buffer,
int offset,
int length)
throws IOException
- Overrides:
read
in class InputStream
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class InputStream
- Throws:
IOException
Copyright © 2004-2012 JBoss by Red Hat. All Rights Reserved.