|
Regain 2.1.0-STABLE API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.regain.ui.desktop.DesktopToolkit
public class DesktopToolkit
A toolkit for the desktop search containing helper methods.
Field Summary | |
---|---|
private static DesktopConfig |
mConfig
The desktop configuration. |
private static ServerSocket |
mCurrentSocket
The current webserver socket. |
private static org.apache.log4j.Logger |
mLog
The logger for this class |
private static simple.http.connect.Connection |
mSimplewebConnection
The simpleweb connection |
Fields inherited from interface net.sf.regain.ui.desktop.DesktopConstants |
---|
AUTH_PROPS_FILE, CONFIG_DIR, CRAWLER_CONFIG_FILE, DEFAULT_CONFIG_DIR, DEFAULT_CRAWLER_CONFIG_FILE, DEFAULT_DESKTOP_CONFIG_FILE, DEFAULT_INTERVAL, DEFAULT_PORT, DESKTOP_CONFIG_FILE, INDEX_DIR, LASTUPDATE_FILE, LOG_DIR, NEEDSUPDATE_FILE, TAGLIB_DIR |
Constructor Summary | |
---|---|
DesktopToolkit()
|
Method Summary | |
---|---|
static void |
checkWebserver()
Checks whether the webserver is running on the right port. |
static DesktopConfig |
getDesktopConfig()
Gets the desktop configuration. |
static void |
openPageInBrowser(String page)
Opens a page in the browser. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static org.apache.log4j.Logger mLog
private static DesktopConfig mConfig
private static simple.http.connect.Connection mSimplewebConnection
private static ServerSocket mCurrentSocket
Constructor Detail |
---|
public DesktopToolkit()
Method Detail |
---|
public static DesktopConfig getDesktopConfig()
public static void openPageInBrowser(String page)
page
- The page to open.public static void checkWebserver() throws RegainException
RegainException
- If creating or remapping the webserver failed.
|
Regain 2.1.0-STABLE API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |