PPF API
Version 0.6

net.sourceforge.ppf.simplewebserver
Class SimpleWebServer

java.lang.Object
  extended by java.lang.Thread
      extended by net.sourceforge.ppf.simplewebserver.SimpleWebServer
All Implemented Interfaces:
java.lang.Runnable

public class SimpleWebServer
extends java.lang.Thread

Copyright Paul Mutton http://www.jibble.org/


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
static java.util.Hashtable<java.lang.String,java.lang.String> MIME_TYPES
           
static java.lang.String VERSION
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SimpleWebServer(java.io.File rootDir, int port, PPF bot)
           
 
Method Summary
static java.lang.String getExtension(java.io.File file)
           
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

VERSION

public static final java.lang.String VERSION
See Also:
Constant Field Values

MIME_TYPES

public static final java.util.Hashtable<java.lang.String,java.lang.String> MIME_TYPES
Constructor Detail

SimpleWebServer

public SimpleWebServer(java.io.File rootDir,
                       int port,
                       PPF bot)
                throws java.io.IOException
Throws:
java.io.IOException
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

getExtension

public static java.lang.String getExtension(java.io.File file)

PPF API
Version 0.6

PircBot Plugin Framework API 0.6
© 2003-2004 DeadEd e.a. ppf.sourceforge.net