org.brains2b.coffee.file
Class FilterHandler

java.lang.Object
  extended by org.brains2b.coffee.file.FileContentHandler
      extended by org.brains2b.coffee.file.FilterHandler
All Implemented Interfaces:
ProgressMonitor, org.xml.sax.ContentHandler

public class FilterHandler
extends FileContentHandler

ContentHandler for reading the list of filters from file

Version:
0.10.1 [Feb 29, 2008]
Author:
dennis@brains2b.nl

Constructor Summary
FilterHandler()
          Constructor
 
Method Summary
 void characters(char[] ch, int start, int length)
           
 void endDocument()
           
 void endElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName)
           
 NNTPMessage getMessage()
          get the NNTPMessage as it was parsed from the specific ContentHandler
 void startDocument()
           
 void startElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes atts)
           
 
Methods inherited from class org.brains2b.coffee.file.FileContentHandler
addProgressMonitor, advance, endPrefixMapping, getDefaultDir, ignorableWhitespace, processingInstruction, removeProgressMonitor, setDefaultDir, setDocumentLocator, skippedEntity, startPrefixMapping
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterHandler

public FilterHandler()
Constructor

Parameters:
list - FilterList, the instance of the filterList to add the filters to
Method Detail

getMessage

public NNTPMessage getMessage()
Description copied from class: FileContentHandler
get the NNTPMessage as it was parsed from the specific ContentHandler

Specified by:
getMessage in class FileContentHandler
Returns:
NNTPMessage

endDocument

public void endDocument()
                 throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

startDocument

public void startDocument()
                   throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

characters

public void characters(char[] ch,
                       int start,
                       int length)
                throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

endElement

public void endElement(java.lang.String namespaceURI,
                       java.lang.String localName,
                       java.lang.String qName)
                throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

startElement

public void startElement(java.lang.String namespaceURI,
                         java.lang.String localName,
                         java.lang.String qName,
                         org.xml.sax.Attributes atts)
                  throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException