org.esau.ptarmigan.impl.filter
Class PLSFilter

java.lang.Object
  |
  +--org.xml.sax.helpers.XMLFilterImpl
        |
        +--org.esau.ptarmigan.impl.filter.BaseFilter
              |
              +--org.esau.ptarmigan.impl.filter.PlaylistFilter
                    |
                    +--org.esau.ptarmigan.impl.filter.SimplePlaylistFilter
                          |
                          +--org.esau.ptarmigan.impl.filter.PLSFilter
All Implemented Interfaces:
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

public final class PLSFilter
extends SimplePlaylistFilter

PLSFilter -- transforms PLS playlist to ptarmigan playlist

TODO: recursively scan all playlists found.

Version:
$Revision: 1.3 $ $Date: 2002/09/19 03:48:00 $
Author:
Reed Esau

Constructor Summary
PLSFilter()
           
 
Method Summary
 void doParsePlaylist(java.io.BufferedReader reader)
          Parse a document from a buffered source.
 boolean isMatch(java.lang.String str)
          does the specified stream contain a marker for the tag?
 
Methods inherited from class org.esau.ptarmigan.impl.filter.SimplePlaylistFilter
doParse
 
Methods inherited from class org.esau.ptarmigan.impl.filter.PlaylistFilter
getIncludeEntries, resetData, setBaseDir, setIncludeEntries
 
Methods inherited from class org.esau.ptarmigan.impl.filter.BaseFilter
characters, getMediaProperties, parse, setMediaProperties
 
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

PLSFilter

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

isMatch

public boolean isMatch(java.lang.String str)
                throws java.io.IOException
does the specified stream contain a marker for the tag?
Overrides:
isMatch in class PlaylistFilter

doParsePlaylist

public void doParsePlaylist(java.io.BufferedReader reader)
                     throws org.xml.sax.SAXException,
                            java.io.IOException,
                            java.text.ParseException
Parse a document from a buffered source.
Overrides:
doParsePlaylist in class SimplePlaylistFilter


Copyright © 2002 Reed Esau, All Rights Reserved.