|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
Productor
Hilos Productor. Lee de un fichero las direcciones URL a las que se debe conectar. Lee el contenido y almacena las palabras que encuentran junto con el número de apariciones de cada una de ellas. Los pares palabra/contador se almacenan en un HashMap y este se almacena en una determinada posicion de un almacen.
Field Summary |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
Productor(Almacen c,
AccesoFichero buf)
Constructor de Productor |
Method Summary | |
void |
run()
Sobreescribe el metodo run de Thread Lee del fichero una direccion web a analizar. |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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 Productor(Almacen c, AccesoFichero buf)
c
- Almacen donde se guardara el HashMapbuf
- referencia al objeto AccesoFichero que contiene las pag. web.Method Detail |
public void run()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |