|--||Interpret all following arguments on the command line as filenames. This is useful, if you want to convert files beginning with a -.|
|Insert the file filename after converted data and before HTML footer. See also the -s option.|
|-c||Turns off CGI-script detection and HTTP header generation. This is needed to use java2html as a subcommand in another CGI script.|
|Insert the file filename after the HTML headers and before the converted data. See also the -s option.|
Generate an index only. This will generate a list of references (HREFs)
the labels that
java2html creates for your source file. The references are created as list items
(<li>) in an HTML list. Each line has the form
so they can be used directly as an index list, or further parsed by another script.
If you want the index at the top of the source file, you will need a wrapper script like this one:
Number lines and label them with line followed by the line
number. Empty lines get no label, but the linecounter will count
them nevertheless. With this feature you can refer to special
lines of code from other parts of the generated file
or from external files with a line like this:
<A HREF="foo.java.html#line301">Go to line 301</A>
|-s||With this option you can suppress the generation of HTML headers. This is especially useful together with options -b file and -h file.|
|Set the title to title. The default is the filename you converted or "stdin" if reading from stdin. This option is only used if -s is not set.|
|-u||Print usage information.|
|sets the WIDTH attribute for HTML tag <PRE>. If this option is not used a default of 80 is assumed. (Currently most browsers are ignoring this attribute).|
|-V||reports the version number of java2html.|
java2html returns 0 on success, 1 if input files are not existing/readable, 2 if output files are not creatable/writable, 3 if invoked with illegal options and 4 if gzip cannot be invoked.
Florian Schintke <firstname.lastname@example.org>
Martin Kammerhofer <email@example.com> wrote the CGI feature.
Rob Ewan <firstname.lastname@example.org> wrote the indexing feature.