com.lukasfeiler.httpd.plugins
Class ParseM3U

java.lang.Object
  extended bycom.lukasfeiler.httpd.plugins.HTTPServerPlugin
      extended bycom.lukasfeiler.httpd.plugins.ParseM3U

public class ParseM3U
extends HTTPServerPlugin

Parses a M3U file and outputs the result - see the configuration option ParseM3UHostPrefix.

Version:
0.1
Author:
Lukas Feiler

Field Summary
 
Fields inherited from class com.lukasfeiler.httpd.plugins.HTTPServerPlugin
server
 
Constructor Summary
ParseM3U(HTTPServer server)
          Constructor.
 
Method Summary
 boolean run(HTTPSocket socket, java.io.File f, java.lang.String requestedResource, java.util.Vector headers)
          Run the plugin: if the request is for a m3u file, the m3u file is parsed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParseM3U

public ParseM3U(HTTPServer server)
Constructor.

Method Detail

run

public boolean run(HTTPSocket socket,
                   java.io.File f,
                   java.lang.String requestedResource,
                   java.util.Vector headers)
            throws java.io.IOException
Run the plugin: if the request is for a m3u file, the m3u file is parsed.

Specified by:
run in class HTTPServerPlugin
Throws:
java.io.IOException