fileName = cd.substring(start + 10, end).trim();
fileName = (String)params.get("filename"); if (fileName != null) { fileName = fileName.trim(); } else {   fileName = ""; }
    protected String getFileName(Map /* String, String */ headers)    {        String fileName = null;        String cd = getHeader(headers, CONTENT_DISPOSITION);        if (cd.startsWith(FORM_DATA) || cd.startsWith(ATTACHMENT))        {            int start = cd.indexOf("filename=\"");            int end = cd.indexOf('"', start + 10);            if (start != -1 && end != -1)            {                fileName = cd.substring(start + 10, end).trim();            }        }        return fileName;    }