net.sf.joost
Class Main

java.lang.Object
  extended by net.sf.joost.Main
All Implemented Interfaces:
Constants

public class Main
extends Object
implements Constants

Command line interface for Joost.

Version:
$Revision: 1.31 $ $Date: 2008/10/06 13:31:41 $
Author:
Oliver Becker

Field Summary
private static org.apache.commons.logging.Log log
           
 
Fields inherited from interface net.sf.joost.Constants
DEBUG, DEFAULT_ENCODING, FEAT_NS, FEAT_NSPREFIX, FEATURE_URI_PREFIX, FUNC_NS, JOOST_EXT_NS, PR_ATTRIBUTES, PR_BUFFER, PR_CHILDREN, PR_CONTINUE, PR_ERROR, PR_SELF, PR_SIBLINGS, STX_NS
 
Constructor Summary
Main()
           
 
Method Summary
private static void logInfoAndExit()
          Output logging availability info and exit Joost
static void main(String[] args)
          Entry point
private static void printResource(String filename)
          Outputs the contents of a resource info file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static org.apache.commons.logging.Log log
Constructor Detail

Main

public Main()
Method Detail

main

public static void main(String[] args)
Entry point

Parameters:
args - array of strings containing the parameter for Joost and at least two URLs addressing xml-source and stx-sheet

printResource

private static void printResource(String filename)
Outputs the contents of a resource info file.

Parameters:
filename - the name of the file containing the info to output

logInfoAndExit

private static void logInfoAndExit()
Output logging availability info and exit Joost