|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jbo.common.RepConversion
Numbers' representation conversion/manipulation routines.
Constructor Summary | |
RepConversion()
|
Method Summary | |
static byte |
asciiHexToNibble(byte b)
Converting an ascii nibble in decimal ( [0-9a-f-A-F] should be in the hex range) to a 4 bit number which is the hex value (nibble). |
static void |
bArray2nibbles(byte[] array,
byte[] nibbles)
Byte array to nibbles. |
static java.lang.String |
bArray2String(byte[] array)
Byte array to String. |
static byte[] |
convertHexStringToByte(java.lang.String refString)
|
static byte[] |
nibbles2bArray(byte[] nibbles)
Nibbles to byte array. |
static byte |
nibbleToHex(byte nibble)
nibble To hex. |
static void |
printInHex(byte b)
print byte in Hex. |
static void |
printInHex(int value)
|
static void |
printInHex(long value)
|
static void |
printInHex(short value)
|
static byte[] |
toHex(int value)
|
static byte[] |
toHex(long value)
|
static byte[] |
toHex(short value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RepConversion()
Method Detail |
public static void printInHex(byte b)
b
- byte to convert to hexpublic static byte nibbleToHex(byte nibble)
nibble
- Byte with a 4 bit value to convert to Hex.
public static byte asciiHexToNibble(byte b)
nibble of the result
b
- byte with a hex value to convert to decimal
public static void bArray2nibbles(byte[] array, byte[] nibbles)
array
- array of bytes to convertnibbles
- array where the nibbles will be storedpublic static java.lang.String bArray2String(byte[] array)
array
- array of bytes to convertpublic static byte[] nibbles2bArray(byte[] nibbles)
nibbles
- array of nibbles
public static void printInHex(long value)
public static void printInHex(int value)
public static void printInHex(short value)
public static byte[] toHex(long value)
public static byte[] toHex(int value)
public static byte[] toHex(short value)
public static byte[] convertHexStringToByte(java.lang.String refString)
|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.