|
||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||
java.lang.Objectfuku.eb4j.SubBook
public final class SubBook
副本クラス。
| メソッドの概要 | |
|---|---|
Book |
getBook()
この副本が含まれる書籍を返します。 |
Object |
getCandidate(int multiIndex,
int entryIndex,
Hook hook)
この副本の指定されたエントリの候補一覧を返します。 |
Object |
getCopyright(Hook hook)
この副本の著作権表示を返します。 |
ExtFont |
getFont()
現在設定されているサイズの外字を返します。 |
ExtFont |
getFont(int type)
指定されたサイズの外字を返します。 |
GraphicData |
getGraphicData()
この副本の画像データを返します。 |
EBFile |
getGraphicFile()
この副本の画像ファイルを返します。 |
Object |
getHeading(long pos,
Hook hook)
指定位置の見出しを返します。 |
Object |
getMenu(Hook hook)
この副本のメニュー表示を返します。 |
File |
getMovieFile(String name)
動画ファイルを返します。 |
File[] |
getMovieFileList()
動画ファイルのリストを返します。 |
int |
getMultiCount()
複合検索の数を返します。 |
int |
getMultiEntryCount(int multiIndex)
指定された複合検索のエントリ数を返します。 |
String |
getMultiEntryLabel(int multiIndex,
int entryIndex)
指定されたエントリのラベルを返します。 |
String |
getMultiTitle(int multiIndex)
指定された複合検索のタイトルを返します。 |
String |
getName()
この副本のディレクトリ名を返します。 |
SoundData |
getSoundData()
この副本の音声データを返します。 |
EBFile |
getSoundFile()
この副本の音声ファイルを返します。 |
SubAppendix |
getSubAppendix()
この副本に対応する付録パッケージを返します。 |
Object |
getText(long pos,
Hook hook)
指定位置の本文を返します。 |
EBFile |
getTextFile()
この副本の本文ファイルを返します。 |
String |
getTitle()
この副本のタイトルを返します。 |
boolean |
hasCopyright()
この副本が著作権表示をサポートしているかどうかを判別します。 |
boolean |
hasEndwordSearch()
この副本が後方一致検索をサポートしているかどうかを判別します。 |
boolean |
hasExactwordSearch()
この副本が完全一致検索をサポートしているかどうかを判別します。 |
boolean |
hasKeywordSearch()
この副本が条件検索をサポートしているかどうかを判別します。 |
boolean |
hasMenu()
この副本がメニューをサポートしているかどうかを判別します。 |
boolean |
hasMultiEntryCandidate(int multiIndex,
int entryIndex)
指定されたエントリに候補があるかどうかを判別します。 |
boolean |
hasMultiSearch()
この副本が複合検索をサポートしているかどうかを判別します。 |
boolean |
hasWordSearch()
この副本が前方一致検索をサポートしているかどうかを判別します。 |
Searcher |
searchEndword(String word)
後方一致検索を行います。 |
Searcher |
searchExactword(String word)
完全一致検索を行います。 |
Searcher |
searchKeyword(String[] word)
条件検索を行います。 |
Searcher |
searchMulti(int multiIndex,
String[] word)
複合検索を行います。 |
Searcher |
searchWord(String word)
前方一致検索を行います。 |
void |
setFont(int type)
使用する外字を指定されたサイズに設定します。 |
String |
toString()
このクラスの文字列表現(副本のタイトル)を返します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| メソッドの詳細 |
|---|
public Book getBook()
public SubAppendix getSubAppendix()
public String getTitle()
public String getName()
public ExtFont getFont()
public ExtFont getFont(int type)
type - 外字の種類
IllegalArgumentException - 外字の種類が不当な場合ExtFont.FONT_16,
ExtFont.FONT_24,
ExtFont.FONT_30,
ExtFont.FONT_48public void setFont(int type)
type - 外字の種類
IllegalArgumentException - 外字の種類が不当な場合ExtFont.FONT_16,
ExtFont.FONT_24,
ExtFont.FONT_30,
ExtFont.FONT_48public GraphicData getGraphicData()
public SoundData getSoundData()
public EBFile getTextFile()
public EBFile getGraphicFile()
public EBFile getSoundFile()
public File[] getMovieFileList()
public File getMovieFile(String name)
name - ファイル名
public Object getHeading(long pos,
Hook hook)
throws EBException
pos - データ位置hook - フック (nullの場合はデフォルトのフック)
EBException - ファイル読み込み中にエラーが発生した場合
public Object getText(long pos,
Hook hook)
throws EBException
pos - データ位置hook - フック (nullの場合はデフォルトのフック)
EBException - ファイル読み込み中にエラーが発生した場合
public Object getMenu(Hook hook)
throws EBException
hook - フック (nullの場合はデフォルトのフック)
EBException - ファイル読み込み中にエラーが発生した場合
public Object getCopyright(Hook hook)
throws EBException
hook - フック (nullの場合はデフォルトのフック)
EBException - ファイル読み込み中にエラーが発生した場合
public Searcher searchExactword(String word)
throws EBException
word - 検索語
EBException - 検索中にエラーが発生した場合
public Searcher searchWord(String word)
throws EBException
word - 検索語
EBException - 検索中にエラーが発生した場合
public Searcher searchEndword(String word)
throws EBException
word - 検索語
EBException - 検索中にエラーが発生した場合
public Searcher searchKeyword(String[] word)
throws EBException
word - 検索語
EBException - 検索中にエラーが発生した場合
public Searcher searchMulti(int multiIndex,
String[] word)
throws EBException
multiIndex - 複合検索のインデックスword - 検索語
(外字が含まれる場合は外字を"\####"のように"\"でエスケープして文字コードを記述すること)
EBException - 検索中にエラーが発生した場合
IllegalArgumentException - 引数の値が不当な場合public boolean hasMenu()
public boolean hasCopyright()
public boolean hasExactwordSearch()
public boolean hasWordSearch()
public boolean hasEndwordSearch()
public boolean hasKeywordSearch()
public boolean hasMultiSearch()
public int getMultiCount()
public String getMultiTitle(int multiIndex)
multiIndex - 複合検索のインデックス
IllegalArgumentException - インデックスの値が不当な場合public int getMultiEntryCount(int multiIndex)
multiIndex - 複合検索のインデックス
IllegalArgumentException - インデックスの値が不当な場合
public String getMultiEntryLabel(int multiIndex,
int entryIndex)
multiIndex - 複合検索のインデックスentryIndex - エントリのインデックス
IllegalArgumentException - インデックスの値が不当な場合
public Object getCandidate(int multiIndex,
int entryIndex,
Hook hook)
throws EBException
multiIndex - 複合検索のインデックスentryIndex - エントリのインデックスhook - フック (nullの場合はデフォルトのフック)
EBException - ファイル読み込み中にエラーが発生した場合
IllegalArgumentException - インデックスの値が不当な場合
public boolean hasMultiEntryCandidate(int multiIndex,
int entryIndex)
multiIndex - 複合検索のインデックスentryIndex - エントリのインデックス
IllegalArgumentException - インデックスの値が不当な場合public String toString()
Object 内の toString
|
||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||