org.apache.ws.commons.util
Class Base64.EncoderOutputStream
java.lang.Object
java.io.OutputStream
org.apache.ws.commons.util.Base64.EncoderOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
- Enclosing class:
- Base64
public static class Base64.EncoderOutputStream
- extends OutputStream
An OutputStream
, which is writing to the given
Base64.Encoder
.
Method Summary |
void |
close()
|
void |
write(byte[] pBuffer,
int pOffset,
int pLen)
|
void |
write(int b)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Base64.EncoderOutputStream
public Base64.EncoderOutputStream(Base64.Encoder pEncoder)
- Creates a new instance, which is creating
output using the given
Base64.Encoder
.
- Parameters:
pEncoder
- The base64 encoder being used.
write
public void write(int b)
throws IOException
- Specified by:
write
in class OutputStream
- Throws:
IOException
write
public void write(byte[] pBuffer,
int pOffset,
int pLen)
throws IOException
- Overrides:
write
in class OutputStream
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class OutputStream
- Throws:
IOException
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.