org.xerial.snappy
クラス SnappyInputStream

java.lang.Object
  上位を拡張 java.io.InputStream
      上位を拡張 org.xerial.snappy.SnappyInputStream
すべての実装されたインタフェース:
Closeable

public class SnappyInputStream
extends InputStream

A stream filter for reading data compressed by SnappyOutputStream.

作成者:
leo

フィールドの概要
protected  InputStream in
           
 
コンストラクタの概要
SnappyInputStream(InputStream input)
           
 
メソッドの概要
protected  boolean hasNextChunk()
           
 int read()
           
 int read(byte[] b, int off, int len)
           
protected  void readFully(byte[] fragment, int fragmentLength)
           
protected  void readHeader()
           
 
クラス java.io.InputStream から継承されたメソッド
available, close, mark, markSupported, read, reset, skip
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

in

protected final InputStream in
コンストラクタの詳細

SnappyInputStream

public SnappyInputStream(InputStream input)
                  throws IOException
例外:
IOException
メソッドの詳細

readHeader

protected void readHeader()
                   throws IOException
例外:
IOException

readFully

protected void readFully(byte[] fragment,
                         int fragmentLength)
                  throws IOException
例外:
IOException

read

public int read(byte[] b,
                int off,
                int len)
         throws IOException
オーバーライド:
クラス InputStream 内の read
例外:
IOException

hasNextChunk

protected boolean hasNextChunk()
                        throws IOException
例外:
IOException

read

public int read()
         throws IOException
定義:
クラス InputStream 内の read
例外:
IOException


Copyright © 2011. All Rights Reserved.