Searched defs:filename (Results 1 - 13 of 13) sorted by relevance

/javamail/mbox/src/main/java/com/sun/mail/mbox/
H A DMailbox.java52 public abstract String filename(String user, String folder); method in class:Mailbox
H A DSolarisMailbox.java62 return new UNIXInbox(user, filename(user, folder));
64 return new UNIXFolder(filename(user, folder));
70 public String filename(String user, String folder) { method in class:SolarisMailbox
H A DDefaultMailbox.java56 return new DefaultMailFile(filename(user, folder));
59 public String filename(String user, String folder) { method in class:DefaultMailbox
H A DSunV3BodyPart.java256 * Get the filename associated with this BodyPart. <p>
258 * Returns the value of the "filename" parameter from the
264 * @return filename
274 * Set the filename associated with this BodyPart, if possible. <p>
276 * Sets the "filename" parameter of the "Content-Disposition"
284 public void setFileName(String filename) throws MessagingException { argument
/javamail/outlook/src/main/java/
H A DMSBodyPart.java49 private String filename = UNKNOWN; field in class:MSBodyPart
63 // try to figure this out from the filename extension
78 // get filename from the "begin" line
79 if (filename == UNKNOWN)
81 return filename;
89 * Process the "begin" line to extract the filename,
97 // format is "begin 666 filename.txt"
101 filename = begin.substring(i + 1);
103 type = map.getContentType(filename);
116 if (filename
[all...]
/javamail/android/activation/src/main/java/javax/activation/
H A DFileTypeMap.java89 * @param filename the pathname of the file.
92 abstract public String getContentType(String filename); argument
H A DMimetypesFileTypeMap.java308 * @param filename the file name
311 public synchronized String getContentType(String filename) { argument
312 int dot_pos = filename.lastIndexOf("."); // period index
317 String file_ext = filename.substring(dot_pos + 1);
/javamail/mail/src/main/java/com/sun/mail/imap/
H A DIMAPBodyPart.java152 String filename = null;
154 filename = bs.dParams.get("filename");
155 if (filename == null && bs.cParams != null)
156 filename = bs.cParams.get("name");
157 if (decodeFileName && filename != null) {
159 filename = MimeUtility.decodeText(filename);
161 throw new MessagingException("Can't decode filename", ex);
164 return filename;
167 setFileName(String filename) argument
[all...]
H A DIMAPMessage.java661 * Get the "filename" Disposition parameter. (Only available in
670 String filename = null;
674 filename = bs.dParams.get("filename");
675 if (filename == null && bs.cParams != null)
676 filename = bs.cParams.get("name");
677 return filename;
680 public void setFileName(String filename) throws MessagingException { argument
/javamail/mail/src/main/java/javax/mail/
H A DPart.java232 * Get the filename associated with this part, if possible.
234 * loaded from a file. The filename will usually be a simple
243 * Set the filename associated with this part, if possible.
245 * loaded from a file. The filename will usually be a simple
248 * @param filename Filename to associate with this part
255 public void setFileName(String filename) throws MessagingException; argument
/javamail/mail/src/main/java/javax/mail/internet/
H A DMimeUtility.java431 * The <code>filename</code> parameter is used with the "uuencode"
436 * @param filename name for the file being encoded (only used
444 String filename)
455 return new UUEncoderStream(os, filename);
443 encode(OutputStream os, String encoding, String filename) argument
H A DMimeBodyPart.java508 * Get the filename associated with this body part. <p>
510 * Returns the value of the "filename" parameter from the
519 * filename. While such encoding is not supported by the MIME
524 * @return filename
531 * Set the filename associated with this body part, if possible. <p>
533 * Sets the "filename" parameter of the "Content-Disposition"
541 * filename. While such encoding is not supported by the MIME
546 * @param filename the file name
553 public void setFileName(String filename) throws MessagingException { argument
554 setFileName(this, filename);
[all...]
H A DMimeMessage.java1261 * Get the filename associated with this Message. <p>
1263 * Returns the value of the "filename" parameter from the
1272 * filename. While such encoding is not supported by the MIME
1277 * @return filename
1285 * Set the filename associated with this part, if possible. <p>
1287 * Sets the "filename" parameter of the "Content-Disposition"
1293 * filename. While such encoding is not supported by the MIME
1304 public void setFileName(String filename) throws MessagingException { argument
1305 MimeBodyPart.setFileName(this, filename);

Completed in 427 milliseconds