org.apache.xml.security.stax.impl.util
Class UnsynchronizedBufferedOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.apache.xml.security.stax.impl.util.UnsynchronizedBufferedOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
public class UnsynchronizedBufferedOutputStream
- extends FilterOutputStream
Field Summary |
protected byte[] |
buffer
|
protected int |
count
|
Method Summary |
void |
flush()
|
void |
write(byte[] bytes,
int offset,
int length)
|
void |
write(int oneByte)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buffer
protected byte[] buffer
count
protected int count
UnsynchronizedBufferedOutputStream
public UnsynchronizedBufferedOutputStream(OutputStream out)
UnsynchronizedBufferedOutputStream
public UnsynchronizedBufferedOutputStream(OutputStream out,
int size)
flush
public void flush()
throws IOException
- Specified by:
flush
in interface Flushable
- Overrides:
flush
in class FilterOutputStream
- Throws:
IOException
write
public void write(byte[] bytes,
int offset,
int length)
throws IOException
- Overrides:
write
in class FilterOutputStream
- Throws:
IOException
write
public void write(int oneByte)
throws IOException
- Overrides:
write
in class FilterOutputStream
- Throws:
IOException
Copyright © 2000–2013 The Apache Software Foundation. All rights reserved.