|
XCMS Toolkit | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjtools.HexFile
public class HexFile
Provides access to a text file that contains the hexadecimal
encoding of some binary value. The value can be
retrieved as a hexadecimal string or converted to a byte.
| Constructor Summary | |
|---|---|
HexFile(java.lang.String path)
Constructor for HexFile with file name path parameter. |
|
| Method Summary | |
|---|---|
byte[] |
getBinary()
Gets hexadecimal characters from a file and returns their equivalent binary representation. |
java.lang.String |
getHex()
Gets hexadecimal characters from a file and returns them in a character string representation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HexFile(java.lang.String path)
HexFile with file name path parameter.
| Method Detail |
|---|
public java.lang.String getHex()
throws java.io.IOException
String of characters
java.io.IOException
public byte[] getBinary()
throws java.io.IOException
java.io.IOException
|
XCMS Toolkit | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||