dea.common
Class ClearWorkServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended bydea.common.ClearWorkServlet
All Implemented Interfaces:
IDebugLevels, java.io.Serializable, Servlet, ServletConfig

public class ClearWorkServlet
extends HttpServlet
implements IDebugLevels

Title: Clear work
Description: Class for clearing all the temp files created by resin since they are owned by the user that started resin and we can not delete manually.
Copyright: Copyright (c) 2001-2004
Company: RMRR

@author David Abigt
@version 1.0

See Also:
Serialized Form

Field Summary
 Display display
           
 
Fields inherited from interface dea.common.IDebugLevels
BASIC, DEBUG_ALL, ERROR, METH_DETAIL, METH_ENTER, METH_EXIT, METH_EXT, METH_GET, METH_SET, METH_VARS, SHOW_PASS
 
Constructor Summary
ClearWorkServlet()
           
 
Method Summary
 void delTree(java.io.File dir, java.io.PrintWriter pw)
          walk local tree to check files
protected  void service(HttpServletRequest request, HttpServletResponse response)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

display

public Display display
Constructor Detail

ClearWorkServlet

public ClearWorkServlet()
Method Detail

service

protected void service(HttpServletRequest request,
                       HttpServletResponse response)
                throws ServletException,
                       java.io.IOException
Throws:
ServletException
java.io.IOException

delTree

public void delTree(java.io.File dir,
                    java.io.PrintWriter pw)
             throws java.io.FileNotFoundException,
                    java.io.IOException
walk local tree to check files

Parameters:
dir -
pw -
Throws:
java.io.FileNotFoundException
java.io.IOException


Copyright © 2001-2005 Round Mountain Rescue Ranch. All Rights Reserved.