|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.maachang.engine.util.ConvertParam
public class ConvertParam
プリミティブ型の情報を、バイナリ情報にコンバートする為の処理群.
プリミティブ型の情報を、バイナリ情報にコンバートする為の処理群です.
フィールドの概要 | |
---|---|
static java.lang.String |
CHARSET
対象キャラクタセット. |
static int |
LENGTH_BOOLEAN
データ長 : boolean. |
static int |
LENGTH_BYTE
データ長 : byte. |
static int |
LENGTH_CHAR
データ長 : char. |
static int |
LENGTH_INT
データ長 : int. |
static int |
LENGTH_LONG
データ長 : long. |
static int |
LENGTH_SHORT
データ長 : short. |
メソッドの概要 | |
---|---|
static byte[] |
convertBoolean(boolean value)
コンバート処理. |
static void |
convertBoolean(byte[] out,
int offset,
boolean value)
コンバート処理. |
static boolean |
convertBoolean(int off,
byte[] binary)
コンバート処理. |
static byte[] |
convertByte(byte value)
コンバート処理. |
static void |
convertByte(byte[] out,
int offset,
byte value)
コンバート処理. |
static byte |
convertByte(int off,
byte[] binary)
コンバート処理. |
static void |
convertChar(byte[] out,
int offset,
char value)
コンバート処理. |
static byte[] |
convertChar(char value)
コンバート処理. |
static char |
convertChar(int off,
byte[] binary)
コンバート処理. |
static void |
convertChars(byte[] out,
int offset,
char[] value)
コンバート処理. |
static byte[] |
convertChars(char[] value)
コンバート処理. |
static char[] |
convertChars(int off,
int length,
byte[] binary)
コンバート処理. |
static byte[] |
convertDecimal(java.math.BigDecimal value)
コンバート処理. |
static int |
convertDecimal(byte[] out,
int offset,
java.math.BigDecimal value)
コンバート処理. |
static java.math.BigDecimal |
convertDecimal(int off,
byte[] binary)
コンバート処理. |
static int |
convertDouble(byte[] out,
int offset,
double value)
コンバート処理. |
static byte[] |
convertDouble(double value)
コンバート処理. |
static double |
convertDouble(int off,
byte[] binary)
コンバート処理. |
static int |
convertFloat(byte[] out,
int offset,
float value)
コンバート処理. |
static byte[] |
convertFloat(float value)
コンバート処理. |
static float |
convertFloat(int off,
byte[] binary)
コンバート処理. |
static java.lang.String |
convertFloatBinaryByString(int off,
byte[] binary)
小数点バイナリ情報を文字列に変換. |
static void |
convertInt(byte[] out,
int offset,
int value)
コンバート処理. |
static byte[] |
convertInt(int value)
コンバート処理. |
static int |
convertInt(int off,
byte[] binary)
コンバート処理. |
static void |
convertLong(byte[] out,
int offset,
long value)
コンバート処理. |
static long |
convertLong(int off,
byte[] binary)
コンバート処理. |
static byte[] |
convertLong(long value)
コンバート処理. |
static void |
convertShort(byte[] out,
int offset,
short value)
コンバート処理. |
static short |
convertShort(int off,
byte[] binary)
コンバート処理. |
static byte[] |
convertShort(short value)
コンバート処理. |
static int |
convertString(byte[] out,
int offset,
java.lang.String value)
コンバート処理. |
static java.lang.String |
convertString(int off,
int length,
byte[] binary)
コンバート処理. |
static byte[] |
convertString(java.lang.String value)
コンバート処理. |
static char |
swap(char value)
2バイト情報を反転. |
static int |
swap(int value)
4バイト情報を反転. |
static long |
swap(long value)
8バイト情報を反転. |
static short |
swap(short value)
2バイト情報を反転. |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
public static final java.lang.String CHARSET
public static final int LENGTH_BOOLEAN
public static final int LENGTH_BYTE
public static final int LENGTH_CHAR
public static final int LENGTH_SHORT
public static final int LENGTH_INT
public static final int LENGTH_LONG
メソッドの詳細 |
---|
public static final short swap(short value)
value
- 反転対象の情報を設定します.
public static final char swap(char value)
value
- 反転対象の情報を設定します.
public static final int swap(int value)
value
- 反転対象の情報を設定します.
public static final long swap(long value)
value
- 反転対象の情報を設定します.
public static final byte[] convertBoolean(boolean value)
value
- 変換対象の処理を設定します.
public static final void convertBoolean(byte[] out, int offset, boolean value)
out
- 設定対象のバイナリ情報を設定します.offset
- 設定対象のオフセット位置を設定します.value
- 変換対象の処理を設定します.public static final boolean convertBoolean(int off, byte[] binary) throws java.lang.Exception
off
- 変換対象バイナリのオフセット値を設定します.binary
- 変換対象のバイナリ情報を設定します.
java.lang.Exception
- 入力例外.public static final byte[] convertByte(byte value)
value
- 変換対象の処理を設定します.
public static final void convertByte(byte[] out, int offset, byte value)
out
- 設定対象のバイナリ情報を設定します.offset
- 設定対象のオフセット位置を設定します.value
- 変換対象の処理を設定します.public static final byte convertByte(int off, byte[] binary) throws java.lang.Exception
off
- 変換対象バイナリのオフセット値を設定します.binary
- 変換対象のバイナリ情報を設定します.
java.lang.Exception
- 入力例外.public static final byte[] convertChar(char value)
value
- 変換対象の処理を設定します.
public static final void convertChar(byte[] out, int offset, char value)
out
- 設定対象のバイナリ情報を設定します.offset
- 設定対象のオフセット位置を設定します.value
- 変換対象の処理を設定します.public static final char convertChar(int off, byte[] binary) throws java.lang.Exception
off
- 変換対象バイナリのオフセット値を設定します.binary
- 変換対象のバイナリ情報を設定します.
java.lang.Exception
- 入力例外.public static final byte[] convertShort(short value)
value
- 変換対象の処理を設定します.
public static final void convertShort(byte[] out, int offset, short value)
out
- 設定対象のバイナリ情報を設定します.offset
- 設定対象のオフセット位置を設定します.value
- 変換対象の処理を設定します.public static final short convertShort(int off, byte[] binary) throws java.lang.Exception
off
- 変換対象バイナリのオフセット値を設定します.binary
- 変換対象のバイナリ情報を設定します.
java.lang.Exception
- 入力例外.public static final byte[] convertInt(int value)
value
- 変換対象の処理を設定します.
public static final void convertInt(byte[] out, int offset, int value)
out
- 設定対象のバイナリ情報を設定します.offset
- 設定対象のオフセット位置を設定します.value
- 変換対象の処理を設定します.public static final int convertInt(int off, byte[] binary) throws java.lang.Exception
off
- 変換対象バイナリのオフセット値を設定します.binary
- 変換対象のバイナリ情報を設定します.
java.lang.Exception
- 入力例外.public static final byte[] convertLong(long value)
value
- 変換対象の処理を設定します.
public static final void convertLong(byte[] out, int offset, long value)
out
- 設定対象のバイナリ情報を設定します.offset
- 設定対象のオフセット位置を設定します.value
- 変換対象の処理を設定します.public static final long convertLong(int off, byte[] binary) throws java.lang.Exception
off
- 変換対象バイナリのオフセット値を設定します.binary
- 変換対象のバイナリ情報を設定します.
java.lang.Exception
- 入力例外.public static final byte[] convertFloat(float value)
value
- 変換対象の処理を設定します.
public static final int convertFloat(byte[] out, int offset, float value)
out
- 設定対象のバイナリ情報を設定します.offset
- 設定対象のオフセット位置を設定します.value
- 変換対象の処理を設定します.
public static final float convertFloat(int off, byte[] binary) throws java.lang.Exception
off
- 変換対象バイナリのオフセット値を設定します.binary
- 変換対象のバイナリ情報を設定します.
java.lang.Exception
- 入力例外.public static final byte[] convertDouble(double value)
value
- 変換対象の処理を設定します.
public static final int convertDouble(byte[] out, int offset, double value)
out
- 設定対象のバイナリ情報を設定します.offset
- 設定対象のオフセット位置を設定します.value
- 変換対象の処理を設定します.
public static final double convertDouble(int off, byte[] binary) throws java.lang.Exception
off
- 変換対象バイナリのオフセット値を設定します.binary
- 変換対象のバイナリ情報を設定します.
java.lang.Exception
- 入力例外.public static final byte[] convertDecimal(java.math.BigDecimal value)
value
- 変換対象の処理を設定します.
public static final int convertDecimal(byte[] out, int offset, java.math.BigDecimal value)
out
- 設定対象のバイナリ情報を設定します.offset
- 設定対象のオフセット位置を設定します.value
- 変換対象の処理を設定します.
public static final java.math.BigDecimal convertDecimal(int off, byte[] binary) throws java.lang.Exception
off
- 変換対象バイナリのオフセット値を設定します.binary
- 変換対象のバイナリ情報を設定します.
java.lang.Exception
- 入力例外.public static final byte[] convertChars(char[] value)
value
- 変換対象の処理を設定します.
public static final void convertChars(byte[] out, int offset, char[] value)
out
- 設定対象のバイナリ情報を設定します.offset
- 設定対象のオフセット位置を設定します.value
- 変換対象の処理を設定します.public static final char[] convertChars(int off, int length, byte[] binary) throws java.lang.Exception
off
- 変換対象バイナリのオフセット値を設定します.length
- 変換対象バイナリの変換データ長を設定します.binary
- 変換対象のバイナリ情報を設定します.
java.lang.Exception
- 入力例外.public static final byte[] convertString(java.lang.String value) throws java.lang.Exception
value
- 変換対象の処理を設定します.
java.lang.Exception
- 例外.public static final int convertString(byte[] out, int offset, java.lang.String value) throws java.lang.Exception
out
- 設定対象のバイナリ情報を設定します.offset
- 設定対象のオフセット位置を設定します.value
- 変換対象の処理を設定します.
java.lang.Exception
- 例外.public static final java.lang.String convertString(int off, int length, byte[] binary) throws java.lang.Exception
off
- 変換対象バイナリのオフセット値を設定します.length
- 変換対象バイナリの変換データ長を設定します.binary
- 変換対象のバイナリ情報を設定します.
java.lang.Exception
- 入力例外.public static final java.lang.String convertFloatBinaryByString(int off, byte[] binary) throws java.lang.Exception
java.lang.Exception
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |