|
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
public class 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 |
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 IBrowserEngine
JdicInitException
public java.lang.String getBrowserName()
IBrowserEngine
getBrowserName
in interface IBrowserEngine
public boolean isEngineAvailable()
Browser
instances on
the current system.
isEngineAvailable
in interface IBrowserEngine
public boolean isDefaultBrowser(java.lang.String browserPath)
isDefaultBrowser
in interface IBrowserEngine
browserPath
- taken from the OS or whereever
protected void preapareEnvVariables() throws JdicInitException
JdicInitException
public java.lang.String getEmbeddedBinaryName()
getEmbeddedBinaryName
in interface IBrowserEngine
public void setEnginePath(java.lang.String fullPath)
IBrowserEngine
BrowserEngineManger
's
setActiveEngine() method.
setEnginePath
in interface IBrowserEngine
public java.lang.String getCharsetName()
getCharsetName
in interface IBrowserEngine
public java.lang.String getFileProtocolURLPrefix()
getFileProtocolURLPrefix
in interface IBrowserEngine
public boolean isInitialized()
IBrowserEngine
isInitialized
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.