public class OutputStreamAdapter extends ImageOutputStreamImpl
| Modifier and Type | Field and Description |
|---|---|
private OutputStream |
out |
bitOffset, byteOrder, flushedPos, streamPos| Constructor and Description |
|---|
OutputStreamAdapter(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
seek(long pos) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
flushBits, write, writeBit, writeBits, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeChars, writeDouble, writeDoubles, writeFloat, writeFloats, writeInt, writeInts, writeLong, writeLongs, writeShort, writeShorts, writeUTFcheckClosed, close, finalize, flush, flushBefore, getBitOffset, getByteOrder, getFlushedPosition, getStreamPosition, isCached, isCachedFile, isCachedMemory, length, mark, read, readBit, readBits, readBoolean, readByte, readBytes, readChar, readDouble, readFloat, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedInt, readUnsignedShort, readUTF, reset, setBitOffset, setByteOrder, skipBytes, skipBytesclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitflushBeforeclose, flush, getBitOffset, getByteOrder, getFlushedPosition, getStreamPosition, isCached, isCachedFile, isCachedMemory, length, mark, read, readBit, readBits, readBoolean, readByte, readBytes, readChar, readDouble, readFloat, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedInt, readUnsignedShort, readUTF, reset, setBitOffset, setByteOrder, skipBytes, skipBytesprivate final OutputStream out
public OutputStreamAdapter(OutputStream out)
public void write(int b) throws IOException
write in interface DataOutputwrite in interface ImageOutputStreamwrite in class ImageOutputStreamImplIOExceptionpublic void write(byte[] b, int off, int len) throws IOException
write in interface DataOutputwrite in interface ImageOutputStreamwrite in class ImageOutputStreamImplIOExceptionpublic int read() throws IOException
read in interface ImageInputStreamread in class ImageInputStreamImplIOExceptionpublic int read(byte[] b, int off, int len) throws IOException
read in interface ImageInputStreamread in class ImageInputStreamImplIOExceptionpublic void seek(long pos) throws IOException
seek in interface ImageInputStreamseek in class ImageInputStreamImplIOExceptionCopyright © 2017 dcm4che.org. All rights reserved.