public class DomainIngester extends Thread
Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
DomainIngester(javax.servlet.jsp.JspWriter out,
File ingestFile,
Locale l)
Create a new ingester for a given session and outpout, reading domains from a file.
|
Modifier and Type | Method and Description |
---|---|
Exception |
getException() |
boolean |
isDone()
Check whether or not the DomainIngester is finished.
|
void |
run()
Starts the ingesting 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
public DomainIngester(javax.servlet.jsp.JspWriter out, File ingestFile, Locale l)
out
- The writer that goes into HTML outputingestFile
- The file of domains to ingest.l
- the given localepublic void run()
public boolean isDone()
public Exception getException()
Copyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.