org.dcm4che.util
Class BufferedOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.dcm4che.util.BufferedOutputStream
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable
public class BufferedOutputStream
- extends java.io.FilterOutputStream
Field Summary |
protected byte[] |
buf
|
protected int |
count
|
Fields inherited from class java.io.FilterOutputStream |
out |
Method Summary |
void |
copyFrom(javax.imageio.stream.ImageInputStream in)
|
void |
copyFrom(javax.imageio.stream.ImageInputStream in,
int len)
|
void |
copyFrom(java.io.InputStream in)
|
void |
copyFrom(java.io.InputStream in,
int len)
|
void |
flush()
|
void |
write(byte[] b,
int off,
int len)
|
void |
write(int b)
|
Methods inherited from class java.io.FilterOutputStream |
close, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buf
protected final byte[] buf
count
protected int count
BufferedOutputStream
public BufferedOutputStream(java.io.OutputStream out)
BufferedOutputStream
public BufferedOutputStream(java.io.OutputStream out,
byte[] buf)
write
public void write(int b)
throws java.io.IOException
- Overrides:
write
in class java.io.FilterOutputStream
- Throws:
java.io.IOException
write
public void write(byte[] b,
int off,
int len)
throws java.io.IOException
- Overrides:
write
in class java.io.FilterOutputStream
- Throws:
java.io.IOException
copyFrom
public void copyFrom(java.io.InputStream in)
throws java.io.IOException
- Throws:
java.io.IOException
copyFrom
public void copyFrom(java.io.InputStream in,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
copyFrom
public void copyFrom(javax.imageio.stream.ImageInputStream in)
throws java.io.IOException
- Throws:
java.io.IOException
copyFrom
public void copyFrom(javax.imageio.stream.ImageInputStream in,
int len)
throws java.io.IOException
- 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.FilterOutputStream
- Throws:
java.io.IOException