Oracle Help for Java API Reference
Release 4.2.7.0.0
B12198-01

oracle.help.viewer
Class ViewerApplication

java.lang.Object
  |
  +--oracle.help.viewer.ViewerApplication

public class ViewerApplication
extends java.lang.Object

The ViewerApplication class provides the main function from which the Viewer application is run. At the command line, the viewer application takes switches and arguments.

All arguments before the first command line switch is given are assumed to be helpsets. Here are a few example command lines:

- java oracle.help.viewer.ViewerApplication d:\documentation\docs.hs

- java oracle.help.viewer.ViewerApplication -o titlepage.html -h doc1.hs doc2.hs -p preferences.xml

- java oracle.help.viewer.ViewerApplication file:/d:\docs\filedocs.hs -p prefs.xml -h http://web.site.com/webdocs.hs -o http://web.site.com/some_opening_page.html


Constructor Summary
ViewerApplication(java.util.Vector books, java.net.URL openingPage)
           
 
Method Summary
static void main(java.lang.String[] args)
          Parse the command line arguments and create an instance of the ViewerApplication
 void startDemo()
           
static void usage()
          Print a statement explaining how to run the application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewerApplication

public ViewerApplication(java.util.Vector books,
                         java.net.URL openingPage)
Method Detail

startDemo

public void startDemo()

usage

public static void usage()
Print a statement explaining how to run the application.

main

public static void main(java.lang.String[] args)
Parse the command line arguments and create an instance of the ViewerApplication

HELP ${project.version}

Copyright © 1998,2003, Oracle. All Rights Reserved.