|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.cssj.rsr.helpers.RandomBuilderWrapper
RandomBuilderのラッパークラスです。
入れ子クラスの概要 |
クラス jp.cssj.rsr.RandomBuilder から継承した入れ子クラス |
RandomBuilder.PositionInfo |
フィールドの概要 | |
protected RandomBuilder |
builder
|
コンストラクタの概要 | |
RandomBuilderWrapper(RandomBuilder builder)
|
メソッドの概要 | |
void |
addBlock()
断片を追加します。 |
void |
closeBlock(int id)
断片への書き込みを終了します。 |
void |
dispose()
構築のためのリソースを破棄して初期状態に戻します。 |
void |
finish()
追加済みのデータを結合して出力します。 |
RandomBuilder.PositionInfo |
getPositionInfo()
現在の断片の位置情報を返します(任意のオペレーション)。 |
void |
insertBlockBefore(int anchorId)
断片を挿入します。 |
boolean |
supportsPositionInfo()
位置情報をサポートしているかどうかを返します。 |
void |
write(int id,
byte[] b,
int off,
int len)
データを断片に追加します。 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
protected final RandomBuilder builder
コンストラクタの詳細 |
public RandomBuilderWrapper(RandomBuilder builder)
メソッドの詳細 |
public void addBlock() throws IOException
RandomBuilder
の記述:
RandomBuilder
内の addBlock
IOException
public void insertBlockBefore(int anchorId) throws IOException
RandomBuilder
の記述:
RandomBuilder
内の insertBlockBefore
anchorId
- 断片のID。
IOException
public void write(int id, byte[] b, int off, int len) throws IOException
RandomBuilder
の記述:
RandomBuilder
内の write
id
- 断片のID。b
- バイト列。off
- バイト列中のデータの開始位置。len
- バイト列中のデータの長さ。
IOException
public void closeBlock(int id) throws IOException
RandomBuilder
の記述:
RandomBuilder
内の closeBlock
id
- 断片のID。
IOException
public void finish() throws IOException
RandomBuilder
の記述:
RandomBuilder
内の finish
IOException
public void dispose()
RandomBuilder
の記述:
RandomBuilder
内の dispose
public RandomBuilder.PositionInfo getPositionInfo()
RandomBuilder
の記述:
RandomBuilder
内の getPositionInfo
public boolean supportsPositionInfo()
RandomBuilder
の記述:
RandomBuilder
内の supportsPositionInfo
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |