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