com.sun.xml.ws.security.opt.impl.util
Class BufferedStreamWriter

java.lang.Object
  extended by java.io.OutputStream
      extended by com.sun.xml.ws.security.opt.impl.util.BufferedStreamWriter
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

public class BufferedStreamWriter
extends java.io.OutputStream

Author:
K.Venugopal@sun.com

Constructor Summary
BufferedStreamWriter(javax.crypto.CipherOutputStream cos)
          Creates a new instance of BufferedStreamWriter
BufferedStreamWriter(javax.crypto.CipherOutputStream cos, int size)
           
 
Method Summary
 void flush()
           
 void write(byte[] arg0)
           
 void write(byte[] arg0, int arg1, int arg2)
           
 void write(int arg0)
           
 
Methods inherited from class java.io.OutputStream
close
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BufferedStreamWriter

public BufferedStreamWriter(javax.crypto.CipherOutputStream cos)
Creates a new instance of BufferedStreamWriter


BufferedStreamWriter

public BufferedStreamWriter(javax.crypto.CipherOutputStream cos,
                            int size)
Method Detail

write

public void write(byte[] arg0)
           throws java.io.IOException
Overrides:
write in class java.io.OutputStream
Throws:
java.io.IOException

write

public void write(byte[] arg0,
                  int arg1,
                  int arg2)
           throws java.io.IOException
Overrides:
write in class java.io.OutputStream
Throws:
java.io.IOException

write

public void write(int arg0)
           throws java.io.IOException
Specified by:
write in class java.io.OutputStream
Throws:
java.io.IOException

flush

public void flush()
           throws java.io.IOException
Specified by:
flush in interface java.io.Flushable
Overrides:
flush in class java.io.OutputStream
Throws:
java.io.IOException


Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.