org.extex.ocpware
Class Otp2Ocp

java.lang.Object
  extended by org.extex.ocpware.Otp2Ocp

public final class Otp2Ocp
extends java.lang.Object

This class provides a main program to compile the contents of an otp file into an ocp file.

The program takes as one argument the name of the otp file:

   java org.extex.ocpware.Otp2ocp ⟨file

Version:
$Revision:6007 $
Author:
Gerd Neugebauer

Method Summary
static void main(java.lang.String[] args)
          This is the command line interface.
static int main(java.lang.String[] args, java.io.PrintStream out, java.io.PrintStream err)
          Process the command line options and return the exit code.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String[] args)
This is the command line interface.

Parameters:
args - the command line arguments

main

public static int main(java.lang.String[] args,
                       java.io.PrintStream out,
                       java.io.PrintStream err)
Process the command line options and return the exit code. As side effect an error message might be written to the error stream.

Parameters:
args - the command line arguments
out - the output stream
err - the error stream
Returns:
the exit code