|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
net.sf.dc.processes.http.InternetUpdateProcess
net.sf.dc.processes.http.IMDBMovieUpdate
public class IMDBMovieUpdate
Access www.imdb.com to gather movie specific information
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class net.sf.dc.processes.http.InternetUpdateProcess |
---|
cancelled |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
IMDBMovieUpdate(InternetSearchForm ui,
java.lang.String searchString,
boolean broadband)
initializes the IMDB query |
Method Summary | |
---|---|
java.lang.String |
getDescription(java.lang.String sID)
Gets the description for this movie |
java.lang.String[] |
getIDs()
Searches for the maching ID's from the search result(s) |
Movie |
parseInformation(java.lang.String sID)
Reads the information from imdb.com |
void |
run()
|
Methods inherited from class net.sf.dc.processes.http.InternetUpdateProcess |
---|
stopSearch |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IMDBMovieUpdate(InternetSearchForm ui, java.lang.String searchString, boolean broadband)
searchString
- the string on which will be searchedMethod Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public java.lang.String[] getIDs()
public Movie parseInformation(java.lang.String sID) throws java.lang.Exception
sID
- the movie ID from imdb.com
java.lang.Exception
public java.lang.String getDescription(java.lang.String sID)
sID
- imdb movie ID
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |