|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.scheisseichfindemalkeinen.hoster.HostURLChecker
public class HostURLChecker
This class is for checking multiple URLs
| Constructor Summary | |
|---|---|
HostURLChecker(java.util.ArrayList<URL> urls)
Constructor |
|
| Method Summary | |
|---|---|
void |
addHMListener(IHostManagerListener l)
Add listener |
void |
checkURLs()
Start checking URLs |
void |
linksChecked(java.util.ArrayList<URL> urls,
java.lang.String title,
java.lang.String referrer)
|
void |
progressChanged(boolean visible)
Update the visbility of the progressbar |
void |
progressChanged(int val)
Update the progressbar with a new value |
void |
progressChanged(int min,
int max,
int val)
Update the progressbar with new min and max values |
void |
progressChanged(java.lang.String text)
Update the text of the progressbar |
void |
removeHMListener(IHostManagerListener l)
Remove listener |
void |
run()
|
void |
stopAdding()
Stop checking |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HostURLChecker(java.util.ArrayList<URL> urls)
urls - URLs| Method Detail |
|---|
public void checkURLs()
public void run()
run in interface java.lang.Runnablepublic void stopAdding()
public void linksChecked(java.util.ArrayList<URL> urls,
java.lang.String title,
java.lang.String referrer)
urls - URLstitle - Titlereferrer - Referrerpublic void addHMListener(IHostManagerListener l)
l - Listenerpublic void removeHMListener(IHostManagerListener l)
l - Listenerpublic void progressChanged(int val)
IProgressObserver
progressChanged in interface IProgressObserverval - Value
public void progressChanged(int min,
int max,
int val)
IProgressObserver
progressChanged in interface IProgressObservermin - Minimummax - Maximumval - Valuepublic void progressChanged(java.lang.String text)
IProgressObserver
progressChanged in interface IProgressObservertext - Progressbar-Textpublic void progressChanged(boolean visible)
IProgressObserver
progressChanged in interface IProgressObservervisible - Visibility
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||