public class IconUploader
extends javax.servlet.http.HttpServlet
| Modifier and Type | Field and Description | 
|---|---|
| protected org.apache.log4j.Logger | loggerThe logger. | 
| private static java.lang.String | RELATIVE_DIRThe Constant RELATIVE_DIR. | 
| private static long | serialVersionUIDThe Constant serialVersionUID. | 
| Constructor and Description | 
|---|
| IconUploader() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | doPost(javax.servlet.http.HttpServletRequest req,
      javax.servlet.http.HttpServletResponse res) | 
| private static java.lang.String | getFilename(java.lang.String fullString)Gets the filename. | 
| static void | main(java.lang.String[] args)The main method. | 
| org.dom4j.Document | parse(java.io.File file)Parses the File | 
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceprivate static final long serialVersionUID
private static final java.lang.String RELATIVE_DIR
protected org.apache.log4j.Logger logger
public void doPost(javax.servlet.http.HttpServletRequest req,
          javax.servlet.http.HttpServletResponse res)
            throws javax.servlet.ServletException,
                   java.io.IOException
doPost in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionjava.io.IOExceptionprivate static java.lang.String getFilename(java.lang.String fullString)
fullString - the full string in windows or unix formatspublic org.dom4j.Document parse(java.io.File file)
                         throws org.dom4j.DocumentException,
                                java.io.IOException
file - the fileorg.dom4j.DocumentExceptionjava.io.IOException - Signals that an I/O exception has occurred.public static void main(java.lang.String[] args)
args - the arguments