Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.esau.ptarmigan.impl.filter
Class SimplePlaylistFilter  view SimplePlaylistFilter download SimplePlaylistFilter.java

java.lang.Object
  extended byorg.xml.sax.helpers.XMLFilterImpl
      extended byorg.esau.ptarmigan.impl.filter.BaseFilter
          extended byorg.esau.ptarmigan.impl.filter.PlaylistFilter
              extended byorg.esau.ptarmigan.impl.filter.SimplePlaylistFilter
All Implemented Interfaces:
org.esau.ptarmigan.impl.CharacterStreamSource, org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler, org.xml.sax.XMLFilter, org.xml.sax.XMLReader
Direct Known Subclasses:
M3UFilter, PLSFilter

public abstract class SimplePlaylistFilter
extends PlaylistFilter

SimplePlaylistFilter -- base class for M3U and PLS filters

Version:
$Revision: 1.2 $ $Date: 2002/09/19 03:49:42 $

Field Summary
 
Fields inherited from class org.esau.ptarmigan.impl.filter.PlaylistFilter
log, NS_PREFIX, NS_URI, TAG_ENTRY, TAG_ENTRY_DURATION, TAG_ENTRY_TITLE, TAG_ENTRY_URL, TAG_PLAYLIST, TAG_PROPS, TAG_PROPS_AUTHOR, TAG_PROPS_COPYRIGHT, TAG_PROPS_DURATION_TOTAL, TAG_PROPS_ENTRY_COUNT, TAG_PROPS_SUMMARY, TAG_PROPS_TITLE
 
Fields inherited from class org.esau.ptarmigan.impl.filter.BaseFilter
EMPTY_ATTRS, m_media_properties
 
Fields inherited from class org.xml.sax.helpers.XMLFilterImpl
 
Constructor Summary
SimplePlaylistFilter()
           
 
Method Summary
 void doParse(java.io.InputStream is)
          Parse a document from a buffered source.
abstract  void doParsePlaylist(java.io.BufferedReader reader)
           
 
Methods inherited from class org.esau.ptarmigan.impl.filter.PlaylistFilter
endPlaylist, getIncludeEntries, getInEntry, getIsPropsDone, getNamespacePrefix, getNamespaceURI, isMatch, resetData, setAuthor, setBaseDir, setCopyright, setEntryCount, setEntryDuration, setEntryPath, setEntryPath, setEntryTitle, setIncludeEntries, setInEntry, setSummary, setTitle, startPlaylist, writeEntry, writeProperties
 
Methods inherited from class org.esau.ptarmigan.impl.filter.BaseFilter
characters, getByteStream, getChars, getMediaProperties, parse, setMediaProperties, sourceIsXML, write, write, write, write, write, write, write, write, write, write, write, writeDate, writeDate, writeDate, writeDate, writeInteger, writeInteger, writeInteger, writeInteger, writeInteger, writeString, writeString, writeString, writeString, writeString
 
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl
endDocument, endElement, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimplePlaylistFilter

public SimplePlaylistFilter()
                     throws org.xml.sax.SAXException
Method Detail

doParsePlaylist

public abstract void doParsePlaylist(java.io.BufferedReader reader)
                              throws org.xml.sax.SAXException,
                                     java.io.IOException,
                                     java.text.ParseException

doParse

public void doParse(java.io.InputStream is)
             throws org.xml.sax.SAXException,
                    java.io.IOException,
                    java.text.ParseException
Parse a document from a buffered source. Invoked from BaseFilter.parse()

Specified by:
doParse in class BaseFilter