|
||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectfuku.eb4j.io.BookInputStream
fuku.eb4j.io.EBZipInputStream
public final class EBZipInputStream
EBZIP形式の書籍入力ストリームクラス。
フィールドの概要 |
---|
クラス fuku.eb4j.io.BookInputStream から継承されたフィールド |
---|
_cache, _cachePos, _filePos, _info, _stream, PAGE_SIZE |
インタフェース fuku.eb4j.io.EBZipConstants から継承されたフィールド |
---|
EBZIP_DEFAULT_LEVEL, EBZIP_HEADER_SIZE, EBZIP_MAX_LEVEL |
メソッドの概要 | |
---|---|
long |
getCRC()
このファイルのCRCを返します。 |
int |
getLevel()
このファイルの圧縮レベルを返します。 |
protected void |
initFileInfo()
EBZIP形式のファイル情報を初期化します。 |
int |
read(byte[] b,
int off,
int len)
EBZIP形式のファイルから最大lenバイトのデータをバイト配列に読み込みます。 |
クラス fuku.eb4j.io.BookInputStream から継承されたメソッド |
---|
close, finalize, getFileSize, getOffset, getPage, getPosition, getRealFileSize, getSliceSize, open, read, readFully, readFully, readRaw, readRaw, readRawFully, readRawFully, seek, seek |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
メソッドの詳細 |
---|
protected void initFileInfo() throws EBException
BookInputStream
内の initFileInfo
EBException
- 入出力エラーが発生した場合public int getLevel()
public long getCRC()
public int read(byte[] b, int off, int len) throws EBException
BookInputStream
内の read
b
- データの読み込み先のバッファoff
- データの開始オフセットlen
- 読み込まれる最大バイト数
EBException
- 入出力エラーが発生した場合
|
||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |