com.alibaba.simpleimage.io
类 ImageBitsInputStream

java.lang.Object
  继承者 com.alibaba.simpleimage.io.ImageBitsInputStream
所有已实现的接口:
ImageInputStream

public class ImageBitsInputStream
extends Object
implements ImageInputStream

作者:
wendell

构造方法摘要
ImageBitsInputStream(InputStream input)
           
 
方法摘要
 void close()
           
 int read()
           
 int read(byte[] b)
           
 int read(byte[] b, int off, int len)
           
 int readBit()
           
 long readBits(int bit)
           
 byte readByte()
           
 short readShort()
           
 int readUnsignedShort()
           
 void resetBuffer()
           
 int skipBytes(int n)
           
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ImageBitsInputStream

public ImageBitsInputStream(InputStream input)
方法详细信息

close

public void close()
           throws IOException
指定者:
接口 ImageInputStream 中的 close
抛出:
IOException

read

public int read()
         throws IOException
指定者:
接口 ImageInputStream 中的 read
抛出:
IOException

read

public int read(byte[] b,
                int off,
                int len)
         throws IOException
指定者:
接口 ImageInputStream 中的 read
抛出:
IOException

read

public int read(byte[] b)
         throws IOException
指定者:
接口 ImageInputStream 中的 read
抛出:
IOException

readBit

public int readBit()
            throws IOException,
                   JPEGMarkerException
指定者:
接口 ImageInputStream 中的 readBit
抛出:
IOException
JPEGMarkerException

readBits

public long readBits(int bit)
              throws IOException,
                     JPEGMarkerException
指定者:
接口 ImageInputStream 中的 readBits
抛出:
IOException
JPEGMarkerException

skipBytes

public int skipBytes(int n)
              throws IOException
指定者:
接口 ImageInputStream 中的 skipBytes
抛出:
IOException

readUnsignedShort

public int readUnsignedShort()
                      throws IOException
指定者:
接口 ImageInputStream 中的 readUnsignedShort
抛出:
IOException

readShort

public short readShort()
                throws IOException
指定者:
接口 ImageInputStream 中的 readShort
抛出:
IOException

readByte

public byte readByte()
              throws IOException
指定者:
接口 ImageInputStream 中的 readByte
抛出:
IOException

resetBuffer

public void resetBuffer()
                 throws IOException
指定者:
接口 ImageInputStream 中的 resetBuffer
抛出:
IOException


Copyright © 2012–2013 Alibaba Group. All rights reserved.