Class JLexTask

  extended by wcs.Task
      extended by wcs.ProcessTask
          extended by wcs.JLexTask
All Implemented Interfaces:

public class JLexTask
extends ProcessTask

task to run a patched version of JLex. The patch provides processing of standard input if there is no command line argument, it redirects the commentary to diagnostic, rather then standard output, and it returns exit code 1 on error. BUG: this should not use ProcessTask.

Nested Class Summary
Nested classes/interfaces inherited from class wcs.Task
Task.Exception, Task.In, Task.Out
Field Summary
Fields inherited from class wcs.ProcessTask
Fields inherited from class wcs.Task
env, err, in, out
Constructor Summary
JLexTask(Task.In in, Task.Out out, Task.Out err, Properties env)
          required properties: java Java launcher JLex.jar jar file for JLex
Method Summary
static void main(String[] argv)
          test: run standard i/o with system properties.
Methods inherited from class wcs.ProcessTask
run, run
Methods inherited from class wcs.Task
In, In, In, Out, Out
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public JLexTask(Task.In in,
                Task.Out out,
                Task.Out err,
                Properties env)
required properties:
java Java launcher
JLex.jar jar file for JLex

Method Detail


public static void main(String[] argv)
                 throws Exception
test: run standard i/o with system properties.