org.exoplatform.imageio.plugins.common
Class InputStreamAdapter

java.lang.Object
  extended by java.io.InputStream
      extended by org.exoplatform.imageio.plugins.common.InputStreamAdapter
All Implemented Interfaces:
Closeable

public class InputStreamAdapter
extends InputStream

version: openjdk-7-ea-src-b35-11_sep_2008


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

Constructor Detail

InputStreamAdapter

public InputStreamAdapter(ImageInputStream stream)
Method Detail

read

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

read

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


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.