|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
net.sac.mymo.IMDBParser
public class IMDBParser
| 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 java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
IMDBParser(AgentConfiguration agentConfiguration,
java.lang.String voteHistoryURL,
java.lang.String movieLinkPrefix,
java.util.List<java.lang.String> currentMovieIds)
|
|
| Method Summary | |
|---|---|
void |
addIMDBParserListener(IMDBParserListener listener)
|
void |
cancelExecution()
|
int |
getProgessPercentage()
|
boolean |
isExecutionCancelled()
|
boolean |
isImportNew()
|
boolean |
isUpdateExistingRatingsAndVotes()
|
boolean |
isUpdateNewRatingsAndVotes()
|
void |
run()
Parse vote history from the IMDB. |
void |
setImportNew(boolean importNew)
|
void |
setRestrictExistingMovieIds(java.util.List<java.lang.String> restrictExistingMovieIds)
|
void |
setUpdateExistingRatingsAndVotes(boolean updateExistingRatingsAndVotes)
|
void |
setUpdateNewRatingsAndVotes(boolean updateNewRatingsAndVotes)
|
| 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 |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IMDBParser(AgentConfiguration agentConfiguration,
java.lang.String voteHistoryURL,
java.lang.String movieLinkPrefix,
java.util.List<java.lang.String> currentMovieIds)
| Method Detail |
|---|
public void setRestrictExistingMovieIds(java.util.List<java.lang.String> restrictExistingMovieIds)
public int getProgessPercentage()
getProgessPercentage in interface Progressablepublic boolean isImportNew()
public void setImportNew(boolean importNew)
public boolean isUpdateNewRatingsAndVotes()
public void setUpdateNewRatingsAndVotes(boolean updateNewRatingsAndVotes)
public boolean isUpdateExistingRatingsAndVotes()
public void setUpdateExistingRatingsAndVotes(boolean updateExistingRatingsAndVotes)
public void addIMDBParserListener(IMDBParserListener listener)
public void cancelExecution()
cancelExecution in interface Progressablepublic boolean isExecutionCancelled()
isExecutionCancelled in interface Progressablepublic void run()
run in interface java.lang.Runnablerun in class java.lang.Thread
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||