org.jivesoftware.spark.component.browser
Class BrowserFactory

java.lang.Object
  extended by org.jivesoftware.spark.component.browser.BrowserFactory

public class BrowserFactory
extends java.lang.Object

Responsible for determining what type of Browser to return. On windows, either IE or Mozilla will be returned. Otherwise, we will return a simple HTMLViewer using JDK 1.4+ HTMLEditor.


Method Summary
static BrowserViewer getBrowser()
          Returns the Browser UI to use for system Spark is currently running on.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getBrowser

public static BrowserViewer getBrowser()
Returns the Browser UI to use for system Spark is currently running on.

Returns:
the BrowserViewer.
See Also:
NativeBrowserViewer, HTMLViewer