org.dcm4che2.io
Class ImageInputStreamAdapter

java.lang.Object
  extended by java.io.InputStream
      extended by org.dcm4che2.io.ImageInputStreamAdapter
All Implemented Interfaces:
java.io.Closeable

public class ImageInputStreamAdapter
extends java.io.InputStream

Since:
Sep 2, 2006
Version:
$Revision: 5542 $ $Date: 2007-11-26 14:16:23 +0100 (Mon, 26 Nov 2007) $
Author:
Gunter Zeilinger

Constructor Summary
ImageInputStreamAdapter(javax.imageio.stream.ImageInputStream iis)
           
 
Method Summary
 void mark(int readlimit)
           
 boolean markSupported()
           
 int read()
           
 int read(byte[] b, int off, int len)
           
 void reset()
           
 long skip(long n)
           
 
Methods inherited from class java.io.InputStream
available, close, read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageInputStreamAdapter

public ImageInputStreamAdapter(javax.imageio.stream.ImageInputStream iis)
Method Detail

read

public int read()
         throws java.io.IOException
Specified by:
read in class java.io.InputStream
Throws:
java.io.IOException

mark

public void mark(int readlimit)
Overrides:
mark in class java.io.InputStream

markSupported

public boolean markSupported()
Overrides:
markSupported in class java.io.InputStream

read

public int read(byte[] b,
                int off,
                int len)
         throws java.io.IOException
Overrides:
read in class java.io.InputStream
Throws:
java.io.IOException

reset

public void reset()
           throws java.io.IOException
Overrides:
reset in class java.io.InputStream
Throws:
java.io.IOException

skip

public long skip(long n)
          throws java.io.IOException
Overrides:
skip in class java.io.InputStream
Throws:
java.io.IOException


Copyright © 2011 dcm4che. All Rights Reserved.