|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
eTextReader.search.IndexingThread
public class IndexingThread
this class' only purpose is to load the index pages during the Browser startup process in order to save time
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
private java.io.File |
dex
|
private java.lang.String |
dexFileName
|
java.util.HashMap |
indexedWebpages
|
private org.apache.log4j.Logger |
logger
|
private java.io.File |
senDex
|
java.util.HashMap |
sensitiveIndexedWebpages
|
java.util.Iterator |
spineIterator
|
private boolean |
successfulIndex
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
IndexingThread(java.lang.String dexFileName,
java.util.HashMap dex,
java.util.HashMap senDex,
java.util.Iterator it)
|
Method Summary | |
---|---|
private void |
indexTextbook()
|
private void |
loadIndexedTextbook()
|
void |
run()
|
private void |
saveTextbook()
|
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 |
Field Detail |
---|
public java.util.HashMap indexedWebpages
public java.util.HashMap sensitiveIndexedWebpages
public java.util.Iterator spineIterator
private java.io.File dex
private java.io.File senDex
private java.lang.String dexFileName
private boolean successfulIndex
private org.apache.log4j.Logger logger
Constructor Detail |
---|
public IndexingThread(java.lang.String dexFileName, java.util.HashMap dex, java.util.HashMap senDex, java.util.Iterator it)
Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
private void loadIndexedTextbook()
private void indexTextbook()
private void saveTextbook()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |