Searched refs:pattern (Results 1 - 18 of 18) sorted by relevance

/javamail/mail/src/main/java/javax/mail/search/
H A DStringTerm.java53 * The pattern.
57 protected String pattern; field in class:StringTerm
69 * Construct a StringTerm with the given pattern.
72 * @param pattern the pattern
74 protected StringTerm(String pattern) { argument
75 this.pattern = pattern;
80 * Construct a StringTerm with the given pattern and ignoreCase flag.
82 * @param pattern th
85 StringTerm(String pattern, boolean ignoreCase) argument
[all...]
H A DSubjectTerm.java47 * The comparison is case-insensitive. The pattern is a simple string
60 * @param pattern the pattern to search for
62 public SubjectTerm(String pattern) { argument
64 super(pattern);
70 * @param msg the pattern match is applied to this Message's
72 * @return true if the pattern match succeeds, otherwise false
H A DAddressStringTerm.java65 * @param pattern the address pattern to be compared.
67 protected AddressStringTerm(String pattern) { argument
68 super(pattern, true); // we need case-insensitive comparison.
72 * Check whether the address pattern specified in the constructor is
H A DFromStringTerm.java64 * @param pattern the address pattern to be compared.
66 public FromStringTerm(String pattern) { argument
67 super(pattern);
H A DBodyTerm.java49 * The pattern is a simple string that must appear as a substring in
61 * @param pattern The String to search for
63 public BodyTerm(String pattern) { argument
65 super(pattern);
71 * @param msg The pattern search is applied on this Message's body
72 * @return true if the pattern is found; otherwise false
80 * that matches the pattern.
H A DHeaderTerm.java67 * @param pattern The pattern to search for
69 public HeaderTerm(String headerName, String pattern) { argument
70 super(pattern);
H A DRecipientStringTerm.java72 * @param pattern the address pattern to be compared.
74 public RecipientStringTerm(Message.RecipientType type, String pattern) { argument
75 super(pattern);
/javamail/gimap/src/main/java/com/sun/mail/gimap/
H A DGmailRawSearchTerm.java60 * @param pattern the pattern to search for
62 public GmailRawSearchTerm(String pattern) { argument
64 super(pattern);
70 * @param msg the pattern match is applied to this Message's
/javamail/mail/src/main/java/com/sun/mail/imap/
H A DDefaultFolder.java71 public synchronized Folder[] list(final String pattern) argument
77 return p.list("", pattern);
90 public synchronized Folder[] listSubscribed(final String pattern) argument
96 return p.lsub("", pattern);
H A DIMAPFolder.java259 * method, resulting in a typical usage pattern of:
635 * List all subfolders matching the specified pattern.
637 public Folder[] list(String pattern) throws MessagingException { argument
638 return doList(pattern, false);
642 * List all subscribed subfolders matching the specified pattern.
644 public Folder[] listSubscribed(String pattern) throws MessagingException { argument
645 return doList(pattern, true);
648 private synchronized Folder[] doList(final String pattern, argument
663 return p.lsub("", fullName + c + pattern);
665 return p.list("", fullName + c + pattern);
[all...]
/javamail/demo/src/main/java/
H A Dfolderlist.java52 static String pattern = "%"; field in class:folderlist
85 "\t[-R root] [-r] [-v] [-D] [pattern]");
92 pattern = argv[optind];
129 Folder[] f = rf.list(pattern);
/javamail/mail/src/main/java/com/sun/mail/pop3/
H A DDefaultFolder.java72 public Folder[] list(String pattern) throws MessagingException { argument
H A DPOP3Folder.java120 public Folder[] list(String pattern) throws MessagingException { argument
/javamail/mbox/src/main/java/com/sun/mail/mbox/
H A DMboxFolder.java111 public Folder[] list(String pattern) throws MessagingException { argument
116 return list(null, pattern, true);
118 return list(name + File.separator, pattern, false);
124 protected Folder[] list(String ref, String pattern, boolean fromStore) argument
132 pattern = canonicalize(ref, pattern);
133 if ((i = indexOfAny(pattern, "%*")) >= 0) {
134 refdir = pattern.substring(0, i);
136 refdir = pattern;
153 listWork(realdir, refdir, pattern, fromStor
[all...]
/javamail/mail/src/main/java/javax/mail/
H A DFolder.java265 * that match the specified pattern. Patterns may contain the wildcard
286 * method on the same pattern multiple times will return that many
291 * @param pattern the match pattern
299 public abstract Folder[] list(String pattern) throws MessagingException; argument
303 * namespace that match the specified pattern. If the folder does
307 * The pattern can contain wildcards as for <code>list</code>. <p>
318 * method on the same pattern multiple times will return that many
323 * @param pattern the match pattern
332 listSubscribed(String pattern) argument
[all...]
/javamail/mail/src/main/java/javax/mail/internet/
H A DMailDateFormat.java279 * be used because RFC 2822 mandates a specific pattern.
284 // public void applyLocalizedPattern(String pattern) {
291 * be used because RFC 2822 mandates a specific pattern.
296 // public void applyPattern(String pattern) {
302 * This method allows serialization to change the pattern.
304 private void superApplyPattern(String pattern) { argument
305 super.applyPattern(pattern);
/javamail/mail/src/main/java/com/sun/mail/imap/protocol/
H A DIMAPProtocol.java1456 * @param pattern pattern to list
1461 public ListInfo[] list(String ref, String pattern) argument
1463 return doList("LIST", ref, pattern);
1470 * @param pattern pattern to list
1475 public ListInfo[] lsub(String ref, String pattern) argument
1477 return doList("LSUB", ref, pattern);
1482 * using the reference and pattern.
1486 * @param pat the pattern
[all...]
/javamail/
H A Dmail.sig1322 fld protected java.lang.String pattern

Completed in 267 milliseconds