Method Summary |
|
abstract protected void | delegatedLog(String errorString) An abstract method which child classes override to handle logging of
errors in their particular environments. |
public static long | getLastDatabaseUpdateTime() Getter for static lastDatabaseUpdateTime. |
public String | getSqlFileName() Getter for property sqlFileName. |
public Map | getSqlParameters() Getter for property sqlParameters. |
public void | initSqlQueries(Connection conn, org.apache.mailet.MailetContext mailetContext) Initializes the sql query environment from the SqlResources file. |
public void | loadHamNSpam(Connection conn) Loads the token frequencies from the database. |
public void | setSqlFileName(String sqlFileName) Setter for property sqlFileName. |
public void | setSqlParameters(Map sqlParameters) Setter for property sqlParameters. |
public static void | touchLastDatabaseUpdateTime() Sets static lastDatabaseUpdateTime to System.currentTimeMillis(). |
public void | updateHamTokens(Connection conn) Updates the database with new "ham" token frequencies. |
public void | updateSpamTokens(Connection conn) Updates the database with new "spam" token frequencies. |