jrun.servlet.file
Class FileServlet
jrun.servlet.file.FileServlet
- public class FileServlet
Serves files.
- Author:
- Karl Moss
|
Method Summary |
void |
format(java.lang.String path,
java.util.Set set,
java.io.PrintWriter out)
|
protected java.text.SimpleDateFormat |
getFormatter()
|
protected java.lang.String |
getPad(int n)
|
void |
init(javax.servlet.ServletConfig config)
|
protected void |
putFormatter(java.text.SimpleDateFormat f)
|
void |
service(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
|
MAX_LENGTH
public static final int MAX_LENGTH
IF_MODIFIED_SINCE
public static final java.lang.String IF_MODIFIED_SINCE
LAST_MODIFIED
public static final java.lang.String LAST_MODIFIED
CONTENT_LENGTH
public static final java.lang.String CONTENT_LENGTH
isWindows
public static final boolean isWindows
FileServlet
public FileServlet()
init
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
service
public void service(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
format
public void format(java.lang.String path,
java.util.Set set,
java.io.PrintWriter out)
throws java.io.IOException
getPad
protected java.lang.String getPad(int n)
getFormatter
protected java.text.SimpleDateFormat getFormatter()
putFormatter
protected void putFormatter(java.text.SimpleDateFormat f)
Copyright � 2002 Macromedia Corporation. All Rights Reserved.