public class ReplicationHandler
extends java.util.TimerTask
| Constructor and Description |
|---|
ReplicationHandler() |
ReplicationHandler(int serverCheckCode) |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Date |
combinateCurrentDateAndGivenTime(java.lang.String givenTime)
This method will combine given time string(in short format) to current
date.
|
static org.xml.sax.XMLReader |
initParser(org.xml.sax.helpers.DefaultHandler dh)
Method to initialize the message parser
|
void |
run()
Method that implements TimerTask.run().
|
public ReplicationHandler()
public ReplicationHandler(int serverCheckCode)
public void run()
run in interface java.lang.Runnablerun in class java.util.TimerTaskpublic static org.xml.sax.XMLReader initParser(org.xml.sax.helpers.DefaultHandler dh)
throws HandlerException
HandlerExceptionpublic static java.util.Date combinateCurrentDateAndGivenTime(java.lang.String givenTime)
throws HandlerException
givenTime - the format should be "10:00 AM " or "2:00 PM"java.lang.ExceptionHandlerExceptionCopyright © 2020 Regents of the University of California. All Rights Reserved.