|
JDIC API V2006 Release 0308 | |||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造函数 | 方法 | 详细信息: 字段 | 构造函数 | 方法 |
java.lang.Objectorg.jdesktop.jdic.browser.MozillaEngine
public class MozillaEngine
Handles the communication with Mozilla's Gecko Runtime Engine (GRE).
构造函数摘要 | |
---|---|
MozillaEngine()
|
方法摘要 | |
---|---|
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). |
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
构造函数详细信息 |
---|
public MozillaEngine()
方法详细信息 |
---|
public void initialize() throws JdicInitException
IBrowserEngine
中的 initialize
JdicInitException
public java.lang.String getBrowserName()
IBrowserEngine
复制的描述
IBrowserEngine
中的 getBrowserName
public boolean isEngineAvailable()
Browser
instances on
the current system.
IBrowserEngine
中的 isEngineAvailable
public boolean isDefaultBrowser(java.lang.String browserPath)
IBrowserEngine
中的 isDefaultBrowser
browserPath
- taken from the OS or whereever
protected void preapareEnvVariables() throws JdicInitException
JdicInitException
public java.lang.String getEmbeddedBinaryName()
IBrowserEngine
中的 getEmbeddedBinaryName
public void setEnginePath(java.lang.String fullPath)
IBrowserEngine
复制的描述BrowserEngineManger
's
setActiveEngine() method.
IBrowserEngine
中的 setEnginePath
public java.lang.String getCharsetName()
IBrowserEngine
中的 getCharsetName
public java.lang.String getFileProtocolURLPrefix()
IBrowserEngine
中的 getFileProtocolURLPrefix
public boolean isInitialized()
IBrowserEngine
复制的描述
IBrowserEngine
中的 isInitialized
|
JDIC API V2006 Release 0308 | |||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造函数 | 方法 | 详细信息: 字段 | 构造函数 | 方法 |
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.