Lines Matching defs:filename
654 * Get the filename associated with this body part. <p>
656 * Returns the value of the "filename" parameter from the
662 * @return filename
665 String filename = null;
671 filename = cd.getParameter("filename");
673 if (filename == null) {
674 // Still no filename ? Try the "name" ContentType parameter
679 filename = ct.getParameter("name");
683 return filename;
687 * Set the filename associated with this body part, if possible. <p>
689 * Sets the "filename" parameter of the "Content-Disposition"
695 public void setFileName(String filename) throws MessagingException {
696 // Set the Content-Disposition "filename" parameter
700 cd.setParameter("filename", filename);
713 cType.setParameter("name", filename);
1131 * Pull out "filename" from Content-Disposition, and
1140 String filename = cd.getParameter("filename");
1141 if (filename != null) {
1142 cType.setParameter("name", filename);