public class RandomBuilderPositionSupport extends RandomBuilderWrapper implements RandomBuilder
RandomBuilder.PositionInfobuilder| コンストラクタと説明 |
|---|
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)
断片にデータを追加します。
|
dispose, supportsPositionInfoclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdispose, supportsPositionInfopublic 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()
RandomBuildergetPositionInfo インタフェース内 RandomBuildergetPositionInfo クラス内 RandomBuilderWrapperpublic void addBlock()
throws IOException
RandomBuilderaddBlock インタフェース内 RandomBuilderaddBlock クラス内 RandomBuilderWrapperIOExceptionpublic void insertBlockBefore(int anchorId)
throws IOException
RandomBuilderinsertBlockBefore インタフェース内 RandomBuilderinsertBlockBefore クラス内 RandomBuilderWrapperanchorId - 断片のID。IOExceptionpublic void write(int id,
byte[] b,
int off,
int len)
throws IOException
RandomBuilderwrite インタフェース内 RandomBuilderwrite クラス内 RandomBuilderWrapperid - 断片のID。b - バイト列。off - バイト列中のデータの開始位置。len - バイト列中のデータの長さ。IOExceptionpublic void closeBlock(int id)
throws IOException
RandomBuildercloseBlock インタフェース内 RandomBuildercloseBlock クラス内 RandomBuilderWrapperid - 断片のID。IOExceptionpublic void finish()
throws IOException
RandomBuilderfinish インタフェース内 RandomBuilderfinish クラス内 RandomBuilderWrapperIOExceptionCopyright © 2023 座間ソフト. All rights reserved.