|
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 中的 initializeJdicInitExceptionpublic java.lang.String getBrowserName()
IBrowserEngine 复制的描述
IBrowserEngine 中的 getBrowserNamepublic boolean isEngineAvailable()
Browser instances on
the current system.
IBrowserEngine 中的 isEngineAvailablepublic boolean isDefaultBrowser(java.lang.String browserPath)
IBrowserEngine 中的 isDefaultBrowserbrowserPath - taken from the OS or whereever
protected void preapareEnvVariables()
throws JdicInitException
JdicInitExceptionpublic java.lang.String getEmbeddedBinaryName()
IBrowserEngine 中的 getEmbeddedBinaryNamepublic void setEnginePath(java.lang.String fullPath)
IBrowserEngine 复制的描述BrowserEngineManger's
setActiveEngine() method.
IBrowserEngine 中的 setEnginePathpublic java.lang.String getCharsetName()
IBrowserEngine 中的 getCharsetNamepublic java.lang.String getFileProtocolURLPrefix()
IBrowserEngine 中的 getFileProtocolURLPrefixpublic 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.