org.dcm4che.client
Class DataSourceImageOutputStream

java.lang.Object
  extended by javax.imageio.stream.ImageInputStreamImpl
      extended by javax.imageio.stream.ImageOutputStreamImpl
          extended by org.dcm4che.client.DataSourceImageOutputStream
All Implemented Interfaces:
java.io.DataInput, java.io.DataOutput, javax.imageio.stream.ImageInputStream, javax.imageio.stream.ImageOutputStream

public class DataSourceImageOutputStream
extends javax.imageio.stream.ImageOutputStreamImpl
implements javax.imageio.stream.ImageOutputStream

Author:
jforaci

Field Summary
 
Fields inherited from class javax.imageio.stream.ImageInputStreamImpl
bitOffset, byteOrder, flushedPos, streamPos
 
Constructor Summary
DataSourceImageOutputStream(java.lang.Object output)
           
 
Method Summary
 int read()
           
 int read(byte[] b, int off, int len)
           
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 
Methods inherited from class javax.imageio.stream.ImageOutputStreamImpl
flushBits, write, writeBit, writeBits, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeChars, writeDouble, writeDoubles, writeFloat, writeFloats, writeInt, writeInts, writeLong, writeLongs, writeShort, writeShorts, writeUTF
 
Methods inherited from class javax.imageio.stream.ImageInputStreamImpl
checkClosed, 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, seek, setBitOffset, setByteOrder, skipBytes, skipBytes
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.imageio.stream.ImageOutputStream
flushBefore, write, writeBit, writeBits, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeChars, writeDouble, writeDoubles, writeFloat, writeFloats, writeInt, writeInts, writeLong, writeLongs, writeShort, writeShorts, writeUTF
 
Methods inherited from interface javax.imageio.stream.ImageInputStream
close, 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, seek, setBitOffset, setByteOrder, skipBytes, skipBytes
 

Constructor Detail

DataSourceImageOutputStream

public DataSourceImageOutputStream(java.lang.Object output)
Method Detail

write

public void write(int b)
           throws java.io.IOException
Specified by:
write in interface java.io.DataOutput
Specified by:
write in interface javax.imageio.stream.ImageOutputStream
Specified by:
write in class javax.imageio.stream.ImageOutputStreamImpl
Throws:
java.io.IOException

write

public void write(byte[] b,
                  int off,
                  int len)
           throws java.io.IOException
Specified by:
write in interface java.io.DataOutput
Specified by:
write in interface javax.imageio.stream.ImageOutputStream
Specified by:
write in class javax.imageio.stream.ImageOutputStreamImpl
Throws:
java.io.IOException

read

public int read()
         throws java.io.IOException
Specified by:
read in interface javax.imageio.stream.ImageInputStream
Specified by:
read in class javax.imageio.stream.ImageInputStreamImpl
Throws:
java.io.IOException

read

public int read(byte[] b,
                int off,
                int len)
         throws java.io.IOException
Specified by:
read in interface javax.imageio.stream.ImageInputStream
Specified by:
read in class javax.imageio.stream.ImageInputStreamImpl
Throws:
java.io.IOException