|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
public interface BinResource
バイナリリソースインターフェイス.
バイナリリソース情報を扱うインターフェイスを提供します.
フィールドの概要 | |
---|---|
static int |
BIN_RESOURCE_TYPE_CACHE
バイナリリソースタイプ : キャッシュファイル. |
static int |
BIN_RESOURCE_TYPE_FILE
バイナリリソースタイプ : ファイル. |
static int |
BIN_RESOURCE_TYPE_MEMORY
バイナリリソースタイプ : メモリー. |
メソッドの概要 | |
---|---|
void |
clear()
情報クリア. |
int |
get(int no)
情報取得. |
int |
getAllSize()
現在のバイナリ長を取得. |
byte[] |
getBinary()
バイナリ情報を取得. |
int |
getBinary(BinResource out)
バイナリ情報を取得. |
int |
getBinary(BinResource out,
int no)
バイナリ情報を取得. |
int |
getBinary(BinResource out,
int no,
int off,
int len)
バイナリ情報を取得. |
int |
getBinary(byte[] out)
バイナリ情報を取得. |
int |
getBinary(byte[] out,
int no)
バイナリ情報を取得. |
int |
getBinary(byte[] out,
int no,
int off,
int len)
バイナリ情報を取得. |
byte[] |
getBinary(int no)
バイナリ情報を取得. |
byte[] |
getBinary(int no,
int len)
バイナリ情報を取得. |
int |
getType()
オブジェクトタイプを取得. |
boolean |
isUse()
オブジェクト有効チェック. |
void |
reset()
リセット処理. |
void |
set(int no,
int b)
情報設定. |
int |
setBinary(int no,
BinResource bin)
バイナリ情報設定. |
int |
setBinary(int no,
BinResource bin,
int off,
int len)
バイナリ情報設定. |
int |
setBinary(int no,
byte[] bin)
バイナリ情報設定. |
int |
setBinary(int no,
byte[] bin,
int off,
int len)
バイナリ情報設定. |
int |
size()
現在の有効バイナリ長を取得. |
フィールドの詳細 |
---|
static final int BIN_RESOURCE_TYPE_MEMORY
static final int BIN_RESOURCE_TYPE_FILE
static final int BIN_RESOURCE_TYPE_CACHE
メソッドの詳細 |
---|
void clear()
void reset()
void set(int no, int b)
no
- 設定対象項番を設定します.b
- 設定対象のバイト情報を設定します.int setBinary(int no, byte[] bin) throws java.lang.ArrayIndexOutOfBoundsException
no
- 設定開始位置となる項番を設定します.bin
- 設定対象のバイナリ情報を設定します.
java.lang.ArrayIndexOutOfBoundsException
- 不正インデックス例外.int setBinary(int no, byte[] bin, int off, int len) throws java.lang.ArrayIndexOutOfBoundsException
no
- 設定開始位置となる項番を設定します.bin
- 設定対象のバイナリ情報を設定します.off
- 設定対象のオフセット値を設定します.len
- 設定対象のバイナリ長を設定します.
java.lang.ArrayIndexOutOfBoundsException
- 不正インデックス例外.int setBinary(int no, BinResource bin) throws java.lang.ArrayIndexOutOfBoundsException
no
- 設定開始位置となる項番を設定します.bin
- 設定対象のバイナリオブジェクトを設定します.
java.lang.ArrayIndexOutOfBoundsException
- 不正インデックス例外.int setBinary(int no, BinResource bin, int off, int len) throws java.lang.ArrayIndexOutOfBoundsException
no
- 設定開始位置となる項番を設定します.bin
- 設定対象のバイナリオブジェクトを設定します.off
- 設定対象のオフセット値を設定します.len
- 設定対象のバイナリ長を設定します.
java.lang.ArrayIndexOutOfBoundsException
- 不正インデックス例外.int get(int no) throws java.lang.ArrayIndexOutOfBoundsException
no
- 取得対象項番を設定します.
java.lang.ArrayIndexOutOfBoundsException
- 不正インデックス例外.byte[] getBinary()
byte[] getBinary(int no) throws java.lang.ArrayIndexOutOfBoundsException
no
- 取得開始位置となる項番を設定します.
java.lang.ArrayIndexOutOfBoundsException
- 不正インデックス例外.byte[] getBinary(int no, int len) throws java.lang.ArrayIndexOutOfBoundsException
no
- 取得開始位置となる項番を設定します.len
- 取得対象のバイナリ長を設定します.
java.lang.ArrayIndexOutOfBoundsException
- 不正インデックス例外.int getBinary(byte[] out)
out
- 取得対象のバイナリ情報が返されます.
int getBinary(byte[] out, int no) throws java.lang.ArrayIndexOutOfBoundsException
out
- 取得対象のバイナリ情報が返されます.no
- 取得開始位置となる項番を設定します.
java.lang.ArrayIndexOutOfBoundsException
- 不正インデックス例外.int getBinary(byte[] out, int no, int off, int len) throws java.lang.ArrayIndexOutOfBoundsException
out
- 取得対象のバイナリ情報が返されます.no
- 取得開始位置となる項番を設定します.off
- 取得対象のバイナリオフセット値を設定します.len
- 取得対象のバイナリ長を設定します.
java.lang.ArrayIndexOutOfBoundsException
- 不正インデックス例外.int getBinary(BinResource out)
out
- 取得対象のバイナリ情報が返されます.
int getBinary(BinResource out, int no) throws java.lang.ArrayIndexOutOfBoundsException
out
- 取得対象のバイナリ情報が返されます.no
- 取得開始位置となる項番を設定します.
java.lang.ArrayIndexOutOfBoundsException
- 不正インデックス例外.int getBinary(BinResource out, int no, int off, int len) throws java.lang.ArrayIndexOutOfBoundsException
out
- 取得対象のバイナリ情報が返されます.no
- 取得開始位置となる項番を設定します.off
- 取得対象のバイナリオフセット値を設定します.len
- 取得対象のバイナリ長を設定します.
java.lang.ArrayIndexOutOfBoundsException
- 不正インデックス例外.int size()
int getAllSize()
int getType()
boolean isUse()
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |