|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread dk.netarkivet.harvester.webinterface.DomainIngester
public class DomainIngester
This class manages a thread of ingesting domains.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
(package private) org.apache.commons.logging.Log |
log
The log. |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
DomainIngester(javax.servlet.jsp.JspWriter out,
java.io.File ingestFile,
java.util.Locale l)
Create a new ingester for a given session and outpout, reading domains from a file. |
Method Summary | |
---|---|
java.lang.Exception |
getException()
|
boolean |
isDone()
Check whether or not the DomainIngester is finished. |
void |
run()
Starts the ingesting thread. |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, clone, 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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
org.apache.commons.logging.Log log
Constructor Detail |
---|
public DomainIngester(javax.servlet.jsp.JspWriter out, java.io.File ingestFile, java.util.Locale l)
out
- The writer that goes into HTML outputingestFile
- The file of domains to ingest.l
- the given localeMethod Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public boolean isDone()
public java.lang.Exception getException()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |