tribble.net.ftp.shell
Class TestLexer

java.lang.Object
  extended by tribble.net.ftp.shell.TestLexer

abstract class TestLexer
extends java.lang.Object

Test driver for the lexer methods of class CommandParser.

Since:
API 1.0, 2007-03-14
Version:
$Revision: 1.4 $ $Date: 2007/03/27 23:47:52 $
Author:
David R. Tribble (david@tribble.com).

Copyright ©2007 by David R. Tribble, all rights reserved.
Permission is granted to any person or entity except those designated by by the United States Department of State as a terrorist, or terrorist government or agency, to use and distribute this source code provided that the original copyright notice remains present and unaltered.


Field Summary
(package private) static java.lang.String REV
          Revision information.
 
Constructor Summary
TestLexer()
           
 
Method Summary
static void main(java.lang.String[] args)
          Test driver for class CommandParser.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REV

static final java.lang.String REV
Revision information.

See Also:
Constant Field Values
Constructor Detail

TestLexer

TestLexer()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Test driver for class CommandParser.

Usage

java tribble.net.ftp.shell.TestLexer [-c] file

Options:

-c
Read characters, not tokens, from the input file.
-t (optional)
Read tokens, not characters, from the input file. (This is the default.)

The file is a text file containing FTP commands.

Throws:
java.lang.Exception
Since:
1.1, 2007-03-14