|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.vgrs.xcode.cmdline.CmdLine
com.vgrs.xcode.cmdline.common.HexCmdLine
public class HexCmdLine
Encode an input file using Hexidecimal codes, or interpret those codes and decode to ASCII.
| Field Summary |
|---|
| Fields inherited from class com.vgrs.xcode.cmdline.CmdLine |
|---|
SWITCH_FILE |
| Constructor Summary | |
|---|---|
HexCmdLine(java.lang.String[] args)
Construct a class to perform command line actions. |
|
| Method Summary | |
|---|---|
static void |
decode(java.io.File input)
Interpret the input File as hexadecimal values and decode to ASCII. |
static void |
decode(java.lang.String input)
Interpret the input String as hexadecimal values and decode to ASCII. |
static void |
encode(java.io.File input)
Encode the data in the input File using hexadecimal values. |
static void |
encode(java.lang.String input)
Encode the input String using hexadecimal values. |
java.lang.String |
getUsageOptions()
Return only the options for this command. |
static void |
main(java.lang.String[] args)
Entry point, integrates with the OS. |
| Methods inherited from class com.vgrs.xcode.cmdline.CmdLine |
|---|
getCommandName, getOptions, setCommandName, setOptions, showUsage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HexCmdLine(java.lang.String[] args)
args - | Method Detail |
|---|
public java.lang.String getUsageOptions()
getUsageOptions in class CmdLinepublic static void main(java.lang.String[] args)
args - the command line argumentspublic static void encode(java.io.File input)
input - the file containing the integer values to be encoded as hexadecimal
string.public static void decode(java.io.File input)
input - the file containing the hexadecimal values to be decoded to ASCII.public static void encode(java.lang.String input)
input - the string to be encoded using hexadecimal values.public static void decode(java.lang.String input)
input - the string to be decoded to ASCII by interpreting the hexadecimal
values.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||