public class JHighlight
extends java.lang.Object
The following file extensions will be processed: .java,
.html, .htm, .xhtml,
.xml and .lzx.
Execute the highlighting with the following syntax:
java com.uwyn.jhighlight.JHighlight [--verbose] [--fragment] [-d destdir] [-e encoding] file|dir ...
--verbose |
Output messages about what the parser is doing. |
--fragment |
Output fragments instead of complete documents. |
-d |
Specify the destination directory |
-e |
Specify the encoding of the files |
RIFE template tags are also supported and will be clearly highlighted.
| Constructor and Description |
|---|
JHighlight() |
| Modifier and Type | Method and Description |
|---|---|
private static void |
highlightFile(java.lang.String name,
java.io.File in,
java.io.File out,
java.lang.String encoding,
boolean fragment,
boolean verbose) |
static void |
main(java.lang.String[] arguments) |
public static void main(java.lang.String[] arguments)
throws java.lang.Throwable
java.lang.Throwableprivate 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
java.io.IOException