|
JDIC API V2006 Release 0308 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jdesktop.jdic.browser.MozillaEngine
Handles the communication with Mozilla's Gecko Runtime Engine (GRE).
| Constructor Summary | |
MozillaEngine()
|
|
| Method Summary | |
java.lang.String |
getBrowserName()
Returns the standardadized name of the embedded browser engine. |
java.lang.String |
getCharsetName()
|
java.lang.String |
getEmbeddedBinaryName()
|
java.lang.String |
getFileProtocolURLPrefix()
Mozilla will not omit this prefix |
IWebBrowser |
getWebBrowser()
web browser is returned |
void |
initialize()
Set according path items and grant executable permission to bin file. |
boolean |
isDefaultBrowser(java.lang.String browserPath)
Checks whether mozilla is default Browser on the current system. |
boolean |
isEngineAvailable()
Checks whether the associated Engine is available on the current system. |
boolean |
isInitialized()
check if the browser engine has been intialized. |
protected void |
preapareEnvVariables()
get and set env variables For xpcom under win,it maybe under mozilla path or under gre path. |
void |
setEnginePath(java.lang.String fullPath)
Set browser's full path(folder and exe name). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MozillaEngine()
| Method Detail |
public void initialize()
throws JdicInitException
initialize in interface IBrowserEngineJdicInitExceptionpublic java.lang.String getBrowserName()
IBrowserEngine
getBrowserName in interface IBrowserEnginepublic boolean isEngineAvailable()
Browser instances on
the current system.
isEngineAvailable in interface IBrowserEnginepublic boolean isDefaultBrowser(java.lang.String browserPath)
isDefaultBrowser in interface IBrowserEnginebrowserPath - taken from the OS or whereever
protected void preapareEnvVariables()
throws JdicInitException
JdicInitExceptionpublic java.lang.String getEmbeddedBinaryName()
getEmbeddedBinaryName in interface IBrowserEnginepublic void setEnginePath(java.lang.String fullPath)
IBrowserEngineBrowserEngineManger's
setActiveEngine() method.
setEnginePath in interface IBrowserEnginepublic java.lang.String getCharsetName()
getCharsetName in interface IBrowserEnginepublic java.lang.String getFileProtocolURLPrefix()
getFileProtocolURLPrefix in interface IBrowserEnginepublic boolean isInitialized()
IBrowserEngine
isInitialized in interface IBrowserEnginepublic IWebBrowser getWebBrowser()
getWebBrowser in interface IBrowserEngine
|
JDIC API V2006 Release 0308 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, working code examples, license terms and bug report information.
Copyright (c) 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.