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:
Closeable, Flushable

public class BufferedStreamWriter
extends OutputStream

Author:
K.Venugopal@sun.com

Constructor Summary
BufferedStreamWriter(CipherOutputStream cos)
          Creates a new instance of BufferedStreamWriter
BufferedStreamWriter(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(CipherOutputStream cos)
Creates a new instance of BufferedStreamWriter


BufferedStreamWriter

public BufferedStreamWriter(CipherOutputStream cos,
                            int size)
Method Detail

write

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

write

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

write

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

flush

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


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