|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmaspack.fileutil.HexCoder
public class HexCoder
Constructor Summary | |
---|---|
HexCoder()
|
Method Summary | |
---|---|
static byte[] |
decode(java.lang.String str)
Converts a Hex String to a byte array |
static java.lang.String |
encode(byte[] byteArray)
|
static boolean |
isCoded(byte[] byteArray)
True if array looks to be hex coded |
static boolean |
isCoded(java.lang.String str)
True if string looks to be hex coded |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HexCoder()
Method Detail |
---|
public static java.lang.String encode(byte[] byteArray)
public static byte[] decode(java.lang.String str)
str
- hex string to convert
public static boolean isCoded(byte[] byteArray)
byteArray
- array to test
public static boolean isCoded(java.lang.String str)
str
- string to test
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |