Solaris Java Plug-in User's Guide

Running the converter from the command line:

Running the converter from the command line:

Format:

java -jar htmlconverter.jar [[filespecs]]  [[-simulate]] [[-options1 value1
[-option2 value2 [...] ]]

If only "java -jar htmlconverter.jar" is specified (no filespecs or options), the GUI version of the converter will be launched. Otherwise, the GUI will be suppressed.

[[filespecs]]: space-delimited list of file specifications which may include wildcard (*), e.g. *.html, file*.html).

[[simulate]]: Set to preview a conversion without actually doing the conversion. Use this option if you are unsuer about a conversion. You will be shown detail information about the conversion had it been done.

Options: 

Descriptions 

source: 

Path to files; e.g., c:\htmldocs in Windows, /home/user1/htmldocs in Unix. Default is <userdir>

If the path is relative, it is assumed to be relative to the directory from which the HTMLConverter was launched.  

dest 

Path to converter file location. Default: <usrdir>

backup 

Path to the directory where you want backup files to be stored. Default: <userdir>/<source>_bak

If the path is relative, it is assumed to be relative to the directory from which the HTMLConverter was launched.  

Force overwritting of backup files. 

subdirs: 

Sets whether files subdirectories should be processed or not. Default: false

template 

Name of template file to use. Default: Standard (IE & Navigator) for Windows & Solaris Only.  


Note –

Use the default if you are unsure.


log 

Path and filename for the log. Default: <userdir>/convert.log

progress 

Set to display standard out progress during conversion. Default: true

latest 

Use the latest JRE supporting the MIME type. 

gui 

Display the graphical user interface for the converter.