net.sf.regain.ui.desktop
Class Main
java.lang.Object
net.sf.regain.ui.desktop.Main
- All Implemented Interfaces:
- DesktopConstants
public class Main
- extends Object
- implements DesktopConstants
Starts the desktop search.
- Author:
- Til Schneider, www.murfman.de, Thomas Tesche, www.clustersystems.de
Field Summary |
private static org.apache.log4j.Logger |
mLog
The logger for this class |
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 |
Main()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mLog
private static org.apache.log4j.Logger mLog
- The logger for this class
Main
public Main()
main
public static void main(String[] args)
- The main entry point.
- Parameters:
args
- The command line arguments.
intializeSearchMask
public static void intializeSearchMask()
initializeLogging
public static void initializeLogging()
initializeConfig
public static void initializeConfig()
quit
public static void quit()
- Quits the desktop search.
testIfFileExists
private static void testIfFileExists(File file,
String label)
- Checks whether the given file exists and notice the user with an
appropriate message.
- Parameters:
file
- the file/dir to checklabel
- the file name for the message
Regain 2.1.0-STABLE, Copyright (C) 2004-2010 Til Schneider, www.murfman.de, Thomas Tesche, www.clustersystems.info