Class BufferedStreamWriter
- java.lang.Object
-
- java.io.OutputStream
-
- com.sun.xml.ws.security.opt.impl.util.BufferedStreamWriter
-
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
public class BufferedStreamWriter extends OutputStream
- Author:
- K.Venugopal@sun.com
-
-
Constructor Summary
Constructors Constructor Description BufferedStreamWriter(CipherOutputStream cos)Creates a new instance of BufferedStreamWriterBufferedStreamWriter(CipherOutputStream cos, int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidflush()voidwrite(byte[] arg0)voidwrite(byte[] arg0, int arg1, int arg2)voidwrite(int arg0)-
Methods inherited from class java.io.OutputStream
close, nullOutputStream
-
-
-
-
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:
writein classOutputStream- Throws:
IOException
-
write
public void write(byte[] arg0, int arg1, int arg2) throws IOException- Overrides:
writein classOutputStream- Throws:
IOException
-
write
public void write(int arg0) throws IOException- Specified by:
writein classOutputStream- Throws:
IOException
-
flush
public void flush() throws IOException- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
-