|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
dea.albums.BaseServlet
dea.albums.GenOut
This class is the base class for all the programs
| Field Summary | |
DB |
db
Get connection to display / log utils |
Display |
display
Get connection to display / log utils |
| 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 | |
GenOut()
|
|
| Method Summary | |
static void |
main(java.lang.String[] args)
|
boolean |
mkdirs(java.lang.String s)
Creates subdirectories as needed to complete path. |
void |
parse(java.lang.String[] args)
parses the command line arguments. |
java.lang.String |
performTask(HttpServletRequest request,
HttpServletResponse response)
add any new files in the raw pics dir or below to the DB guessing at as much info as we can |
void |
setup()
Used to create tables if needed now basicly just calls getPARMS. |
| Methods inherited from class dea.albums.BaseServlet |
callPage, emptyToNull, getParameter, init, service |
| 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, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public Display display
public DB db
| Constructor Detail |
public GenOut()
| Method Detail |
public void parse(java.lang.String[] args)
throws java.lang.Exception
args - A string array of the command line arguments.
java.lang.Exception
public boolean mkdirs(java.lang.String s)
throws java.io.IOException
s - String representing the directory path that needs to be created.
java.io.IOException - if unable to create directory
public java.lang.String performTask(HttpServletRequest request,
HttpServletResponse response)
throws java.io.IOException,
ServletException,
java.lang.Exception
request - HttpServletRequestresponse - HttpServletResponse
java.io.IOException
ServletException
java.lang.Exception
public void setup()
throws java.sql.SQLException,
java.lang.ClassNotFoundException
java.sql.SQLException
java.lang.ClassNotFoundExceptionpublic static void main(java.lang.String[] args)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||