Package com.uwyn.jhighlight
Class JHighlight
- java.lang.Object
-
- com.uwyn.jhighlight.JHighlight
-
public class JHighlight extends java.lang.ObjectProvides console access to the source code syntax highlighting for Java, HTML, XHTML, XML and LZX files. The rendering will be done in HTML.The following file extensions will be processed:
.java,.html,.htm,.xhtml,.xmland.lzx.Execute the highlighting with the following syntax:
java com.uwyn.jhighlight.JHighlight [--verbose] [--fragment] [-d destdir] [-e encoding] file|dir ...
--verboseOutput messages about what the parser is doing. --fragmentOutput fragments instead of complete documents. -dSpecify the destination directory -eSpecify the encoding of the files RIFE template tags are also supported and will be clearly highlighted.
- Since:
- 1.0
- Version:
- $Revision: 3108 $
-
-
Constructor Summary
Constructors Constructor Description JHighlight()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static voidhighlightFile(java.lang.String name, java.io.File in, java.io.File out, java.lang.String encoding, boolean fragment, boolean verbose)static voidmain(java.lang.String[] arguments)
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] arguments) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
highlightFile
private static void highlightFile(java.lang.String name, java.io.File in, java.io.File out, java.lang.String encoding, boolean fragment, boolean verbose) throws java.io.IOException- Throws:
java.io.IOException
-
-