chtdecoder
Class CHTDecoder

java.lang.Object
  extended bychtdecoder.CHTDecoder

public class CHTDecoder
extends java.lang.Object

The main run class for the CHTDecoder program.

Version:
1.3, 09/19/04
Author:
John David Ratliff

Field Summary
static java.lang.String APP_COPYRIGHT
          The copyright String.
static int APP_HEIGHT
          The default frame height.
static java.lang.String APP_NAME
          The name String.
static java.lang.String APP_VERSION
          The version String.
static int APP_WIDTH
          The default frame width.
 
Constructor Summary
CHTDecoder()
           
 
Method Summary
static void main(java.lang.String[] args)
          Starts the application.
static java.lang.String zeroPad(java.lang.String input, int length)
          Returns a zero padded version of a String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APP_NAME

public static final java.lang.String APP_NAME
The name String.

See Also:
Constant Field Values

APP_VERSION

public static final java.lang.String APP_VERSION
The version String.

See Also:
Constant Field Values

APP_COPYRIGHT

public static final java.lang.String APP_COPYRIGHT
The copyright String.

See Also:
Constant Field Values

APP_WIDTH

public static final int APP_WIDTH
The default frame width.

See Also:
Constant Field Values

APP_HEIGHT

public static final int APP_HEIGHT
The default frame height.

See Also:
Constant Field Values
Constructor Detail

CHTDecoder

public CHTDecoder()
Method Detail

zeroPad

public static java.lang.String zeroPad(java.lang.String input,
                                       int length)
Returns a zero padded version of a String.

Parameters:
input - The input (suffix) String to pad.
length - The length the output String should be.
Returns:
The zero padded String.

main

public static void main(java.lang.String[] args)
Starts the application. Run with 0 arguments for GUI mode, or 1 or more .CHT file arguments for text mode.

Parameters:
args - 0 args for GUI mode, > 0 args for text mode.