org.apache.ws.commons.util
Class Base64.EncoderOutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended byorg.apache.ws.commons.util.Base64.EncoderOutputStream
Enclosing class:
Base64

public static class Base64.EncoderOutputStream
extends java.io.OutputStream

An OutputStream, which is writing to the given Encoder.


Constructor Summary
Base64.EncoderOutputStream(Base64.Encoder pEncoder)
          Creates a new instance, which is creating output using the given Encoder.
 
Method Summary
 void close()
           
 void write(byte[] pBuffer, int pOffset, int pLen)
           
 void write(int b)
           
 
Methods inherited from class java.io.OutputStream
flush, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Base64.EncoderOutputStream

public Base64.EncoderOutputStream(Base64.Encoder pEncoder)
Creates a new instance, which is creating output using the given Encoder.

Parameters:
pEncoder - The base64 encoder being used.
Method Detail

write

public void write(int b)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(byte[] pBuffer,
                  int pOffset,
                  int pLen)
           throws java.io.IOException
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.