tribble.net.ftp.shell
Class TestParser

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

abstract class TestParser
extends java.lang.Object

Test driver for class CommandParser.

Since:
API 1.0, 2007-03-14
Version:
$Revision: 1.3 $ $Date: 2007/03/17 03:40:19 $
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
TestParser()
           
 
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

TestParser

TestParser()
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.TestParser [-e] file

Options:

-c
Parse the input file as a complete command script. (This is the default.)
-e
Parse the input file only as an expression, not as a complete command script.

The file is a script containing FTP commands.

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