| java.lang.Object com.sun.portal.search.autoclassify.Autoclassify
Autoclassify | public class Autoclassify (Code) | | Title: Autoclassify
Description:
Copyright: Copyright (c) 2002
Company: Sun Microsystems
author: unascribed version: 1.0 |
Inner Class :class CreateClassMap implements RDMCallback | |
Method Summary | |
public void | doAutoClassify(String dbName, String dbPath, int hashTableSize) | public String | doAutoclassify(String serverRoot, String dbName, String dbPath, int hashTableSize) | static String | getLocalizedString(String key) | static String | getLocalizedString(String key, Object[] objs) | public static String | getLocalizedString(String key, ResourceBundle rb) get string from given resource bundle. | String | getLocalizedUIString(String key) | void | getRDs(String dbName, String className, String rule, Date since, Date till) | void | getRemoveClassificationRDs(String dbName, String className) | void | indexResult(String dbName, String soifPath) | String | indexResults(String dbName, String soifPath) | public static void | log(String msg) | public static void | main(String[] args) | public static void | print(String msg) | public static void | println(String msg) | Map | readTaxToMap(String path, boolean getLastRun) | public void | shutdown() | static String[] | split(String str, String deli) | public static Locale | stringToLocale(String localStr) |
securityMode | public boolean securityMode(Code) | | |
Autoclassify | public Autoclassify(AutoclassifyContext appContext, String server_root, Date lastRun, String rdmServer) throws Exception(Code) | | Parameters: appContext - Application Context Parameters: server_root - The path of instance server root Parameters: lastRun - An override timestamp Parameters: rdmServer - rdmserver url throws: Exception - |
doAutoClassify | public void doAutoClassify(String dbName, String dbPath, int hashTableSize) throws Exception(Code) | | Running the document classification for given database
Parameters: dbName - database name throws: Exception - |
doAutoclassify | public String doAutoclassify(String serverRoot, String dbName, String dbPath, int hashTableSize) throws Exception(Code) | | Running the document classification for given database
Parameters: dbName - database name throws: Exception - |
getLocalizedString | public static String getLocalizedString(String key, ResourceBundle rb)(Code) | | get string from given resource bundle.
Parameters: key - key for the value Parameters: rb - resource bundle to use return the string value, or key if it doesn't exist. |
log | public static void log(String msg)(Code) | | Application levle log
Parameters: msg - Message to log |
main | public static void main(String[] args)(Code) | | Main entry for Autoclassify
Parameters: args - throws: Exception - |
print | public static void print(String msg)(Code) | | output message to stdout in utf-8 encoding
Parameters: msg - Message to print |
println | public static void println(String msg)(Code) | | output message to stdout in utf-8 encoding with tailing new line
Parameters: msg - String to print |
shutdown | public void shutdown()(Code) | | A houskeeping procedure before the process terminated
|
stringToLocale | public static Locale stringToLocale(String localStr)(Code) | | A function return a locale by a given String
in following format "Language_Country"
Parameters: localStr - The locale in a string form locale represented by the given string |
|
|