de.java2html.commandline
Class Java2HtmlCommandline
java.lang.Object
de.java2html.commandline.Java2HtmlCommandline
public class Java2HtmlCommandline
- extends java.lang.Object
Command line tool to invoke the AbstractJavaSourceConverter
without a GUI.
Also allows handling of complete source trees.
If the -copyToTargetUnprocessedFiles parameter is supplied all files that are NOT processed
by this tool will just be copied to the target directory.
Valid invocations are:
java -jar java2html.jar -srcdir d:/src [-targetdir d:/src/output] [-filemask *.java] [-converter HTML ¦ LaTeX ¦ XHtml ] [-tabs 4] [-copyToTargetUnprocessedFiles] [-style KAWA ¦ ECLIPSE]
java -jar java2html.jar -srcfile d:/src/test.java [-targetfile d:/src/output/target.java] [-converter HTML ¦ LaTeX ¦ XHtml ] [-tabs 4] [-style KAWA ¦ ECLIPSE]
default converter is HTML and default filemask is *.java
Other options are set to the default options defined by the java2html.properties
file.
- Author:
- Sanjay Madhavan, Markus Gebhard
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Java2HtmlCommandline
public Java2HtmlCommandline()
createCommandlineConversion
public static IJava2HtmlConversion createCommandlineConversion(java.lang.String[] args)
throws IllegalCommandlineParametersException
- Launch this tool with the supplied parameter. See the class comment for valid parameters.
- Parameters:
args
-
- Throws:
IllegalCommandlineParametersException
printUsage
public static void printUsage()
- Prints the valid usage of this tool.
Copyright © 2003 - 2006