rt/launcher/src/main/java/org/apidesign/bck2brwsr/launcher/Launcher.java
changeset 794 b4284da2fb3b
parent 772 d382dacfd73f
child 844 023cda5b8b0b
child 858 afba662cf624
     1.1 --- a/rt/launcher/src/main/java/org/apidesign/bck2brwsr/launcher/Launcher.java	Tue Feb 26 16:54:16 2013 +0100
     1.2 +++ b/rt/launcher/src/main/java/org/apidesign/bck2brwsr/launcher/Launcher.java	Thu Feb 28 21:00:39 2013 +0100
     1.3 @@ -26,6 +26,9 @@
     1.4  /** An abstraction for executing tests in a Bck2Brwsr virtual machine.
     1.5   * Either in {@linkm Launcher#createJavaScript JavaScript engine}, 
     1.6   * or in {@linkm Launcher#createBrowser external browser}.
     1.7 + * <p>
     1.8 + * There also are methods to {@link #showDir(java.io.File, java.lang.String) display pages} 
     1.9 + * in an external browser served by internal HTTP server.
    1.10   *
    1.11   * @author Jaroslav Tulach <jtulach@netbeans.org>
    1.12   */
    1.13 @@ -98,11 +101,10 @@
    1.14      }
    1.15      /** Starts an HTTP server which provides access to certain directory.
    1.16       * The <code>startpage</code> should be relative location inside the root 
    1.17 -     * driecotry
    1.18 -     * Opens a browser with URL showing the start page.
    1.19 +     * directory. Opens a browser with URL showing the start page.
    1.20       * 
    1.21       * @param directory the root directory on disk
    1.22 -     * @praam startpage relative path from the root to the page
    1.23 +     * @param startpage relative path from the root to the page
    1.24       * @exception IOException if something goes wrong.
    1.25       */
    1.26      public static Closeable showDir(File directory, String startpage) throws IOException {