|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.TimerTask
net.sf.ehcache.util.UpdateChecker
public class UpdateChecker
Check for new Ehcache updates and alert users if an update is available
| Constructor Summary | |
|---|---|
UpdateChecker()
|
|
| Method Summary | |
|---|---|
protected String |
buildParamsString()
construct update url parameters |
void |
checkForUpdate()
This method ensures that there will be no exception thrown. |
void |
run()
Run the update check |
protected String |
urlEncode(String param)
URL safe encoding |
| Methods inherited from class java.util.TimerTask |
|---|
cancel, scheduledExecutionTime |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UpdateChecker()
| Method Detail |
|---|
public void run()
run in interface Runnablerun in class TimerTaskpublic void checkForUpdate()
protected String buildParamsString()
throws UnsupportedEncodingException
UnsupportedEncodingException
protected String urlEncode(String param)
throws UnsupportedEncodingException
param -
UnsupportedEncodingException
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||