All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Webcrawler.Crawler.Parser

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----Webcrawler.Crawler.Parser

class Parser
extends Thread
This class implements a Parser-thread. Since parsing also means creating new nodes, and this needs time (getContentInfo from the net) -> more than one parser is necessary. The parser attaches the sons found in nodeToParse.localFile to the nodeToParse, and tells the managing Parsers-object when a node was added. The Parsers-obj can then send out ParsersMessages to the attached Observers, e.g. the Crawler sends the newly found node to the Readers to be read.

See Also:
Crawler, Readers

This class is not public and therefore cannot be used outside this package.


All Packages  Class Hierarchy  This Package  Previous  Next  Index