|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.edge.common.Converter
Utility class for various converting functions such as byte to string and vice versa.
Constructor Summary | |
Converter() |
Method Summary | |
static byte[] |
toBytes(java.lang.String value, int numBytes) Convert from a string into a byte array. |
static java.lang.String |
toDecimalString(byte[] Bytes) Convert a byte array encoded with decimal integer into a string. Note: here byte 0 is the most-significant byte. |
static java.lang.String |
toHexString(byte[] Bytes) Convert a byte array encoded with hexical integer into a string. Note: here byte 0 is the most-significant byte. |
static byte[] |
toInet4IPAddressBytes(java.lang.String Inet4IPAddressString) |
static java.lang.String |
toOctalString(byte[] Bytes) Convert a byte array encoded with octal integer into a string. Note: here byte 0 is the most-significant byte. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Converter()
Method Detail |
public static byte[] toBytes(java.lang.String value, int numBytes)
public static java.lang.String toDecimalString(byte[] Bytes)
Bytes
- pass-in byte array.public static java.lang.String toHexString(byte[] Bytes)
Bytes
- pass-in byte array.public static byte[] toInet4IPAddressBytes(java.lang.String Inet4IPAddressString) throws ConvertException
ConvertException
public static java.lang.String toOctalString(byte[] Bytes)
Bytes
- pass-in byte array.
|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |