public static final class Browser.Config extends Object
Browser
.
Create an instance and pass it
to Browser.Browser(org.netbeans.html.presenters.browser.Browser.Config)
constructor.Constructor and Description |
---|
Config()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
Browser.Config |
command(String executable)
The command to use when invoking a browser.
|
Browser.Config |
port(int port)
The port to start the server at.
|
public Browser.Config command(String executable)
Browser.Config.port(int)
to specify a fixed port to open the server at
executable
- browser to executepublic Browser.Config port(int port)
port
- the portCopyright © 2021 The Apache Software Foundation. All rights reserved.