public class WindowsBrowser extends java.lang.Object implements BrowserDescription
| Constructor and Description |
|---|
WindowsBrowser(java.lang.String delimChar,
java.lang.String configInfo)
Splits the config string using the delimiter character and
sets the display name; executable; new window argument; and
Program Files sub directory name.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBrowserApplicationName()
Returns the name of the executable for the browser.
|
java.lang.String |
getBrowserDisplayName()
Returns the display name for the browser.
|
java.lang.String |
getForceNewWindowArgs()
Returns arguments used for forcing a new window.
|
(package private) java.lang.String |
getPathToExe() |
(package private) java.lang.String |
getSubDirName() |
(package private) void |
setPathToExe(java.lang.String path) |
java.lang.String |
toString()
Returns displayname and executable name for debugging.
|
WindowsBrowser(java.lang.String delimChar,
java.lang.String configInfo)
Sample config string (with ; as the delim char): displayName;exeName
delimChar - StringconfigInfo - Stringpublic java.lang.String toString()
toString in class java.lang.Objectvoid setPathToExe(java.lang.String path)
java.lang.String getPathToExe()
java.lang.String getSubDirName()
public java.lang.String getBrowserDisplayName()
getBrowserDisplayName in interface BrowserDescriptionpublic java.lang.String getBrowserApplicationName()
getBrowserApplicationName in interface BrowserDescriptionpublic java.lang.String getForceNewWindowArgs()