/javamail/mail/src/main/java/javax/mail/ |
H A D | FolderNotFoundException.java | 47 * methods are invoked on a non existent folder. 53 transient private Folder folder; field in class:FolderNotFoundException 67 * @param folder The Folder 70 public FolderNotFoundException(Folder folder) { argument 72 this.folder = folder; 79 * @param folder The Folder 83 public FolderNotFoundException(Folder folder, String s) { argument 85 this.folder = folder; 98 FolderNotFoundException(Folder folder, String s, Exception e) argument 110 FolderNotFoundException(String s, Folder folder) argument [all...] |
H A D | FolderClosedException.java | 59 transient private Folder folder; field in class:FolderClosedException 66 * @param folder The Folder 68 public FolderClosedException(Folder folder) { argument 69 this(folder, null); 76 * @param folder The Folder 79 public FolderClosedException(Folder folder, String message) { argument 81 this.folder = folder; 89 * @param folder The Folder 94 public FolderClosedException(Folder folder, Strin argument [all...] |
H A D | ReadOnlyFolderException.java | 44 * This exception is thrown when an attempt is made to open a folder 45 * read-write access when the folder is marked read-only. <p> 54 transient private Folder folder; field in class:ReadOnlyFolderException 60 * folder and no detail message. 62 * @param folder the Folder 65 public ReadOnlyFolderException(Folder folder) { argument 66 this(folder, null); 73 * @param folder The Folder 77 public ReadOnlyFolderException(Folder folder, String message) { argument 79 this.folder 92 ReadOnlyFolderException(Folder folder, String message, Exception e) argument [all...] |
H A D | QuotaAwareStore.java | 54 * Get the quotas for the named folder. 56 * (necessarily) a folder. The relationship between folders 60 * for each folder. A single folder can even have multiple 64 * @param folder the name of the folder 69 Quota[] getQuota(String folder) throws MessagingException; argument
|
/javamail/mail/src/main/java/com/sun/mail/util/ |
H A D | FolderClosedIOException.java | 55 transient private Folder folder; field in class:FolderClosedIOException 61 * @param folder the Folder 63 public FolderClosedIOException(Folder folder) { argument 64 this(folder, null); 69 * @param folder the Folder 72 public FolderClosedIOException(Folder folder, String message) { argument 74 this.folder = folder; 83 return folder;
|
/javamail/mbox/src/main/java/com/sun/mail/mbox/ |
H A D | SolarisMailbox.java | 60 public MailFile getMailFile(String user, String folder) { argument 61 if (folder.equalsIgnoreCase("INBOX")) 62 return new UNIXInbox(user, filename(user, folder)); 64 return new UNIXFolder(filename(user, folder)); 68 * Given a name of a mailbox folder, expand it to a full path name. 70 public String filename(String user, String folder) { argument 72 switch (folder.charAt(0)) { 74 return folder; 76 int i = folder.indexOf(File.separatorChar); 79 tail = folder [all...] |
H A D | DefaultMailbox.java | 55 public MailFile getMailFile(String user, String folder) { argument 56 return new DefaultMailFile(filename(user, folder)); 59 public String filename(String user, String folder) { argument 61 char c = folder.charAt(0); 63 return folder; 65 int i = folder.indexOf(File.separatorChar); 68 tail = folder.substring(i); 69 folder = folder.substring(0, i); 73 if (folder [all...] |
H A D | Mailbox.java | 45 * Return a MailFile object for the specified user's folder. 47 public abstract MailFile getMailFile(String user, String folder); argument 50 * Return the file name corresponding to a folder with the given name. 52 public abstract String filename(String user, String folder); argument
|
/javamail/mail/src/oldtest/java/javax/mail/internet/ |
H A D | messagecachetest.java | 137 Folder folder = store.getDefaultFolder(); 138 if (folder == null) { 139 System.out.println("No default folder"); 145 folder = folder.getFolder(mbox); 146 if (folder == null) { 147 System.out.println("Invalid folder"); 152 if (folder.exists()) 153 folder.delete(false); 154 folder 223 testMessageNumber(Folder folder) argument 244 testExpungeForward(Folder folder) argument 261 testExpungeReverse(Folder folder) argument 278 testExpungeRandom(Folder folder) argument 297 testExpungeOther(Folder folder) argument [all...] |
/javamail/mail/src/main/java/com/sun/mail/imap/ |
H A D | IdleManager.java | 75 * To watch for new messages in a folder, open the folder, register a listener, 76 * and ask the IdleManager to watch the folder: 78 * Folder folder = store.getFolder("INBOX"); 79 * folder.open(Folder.READ_WRITE); 80 * folder.addMessageCountListener(new MessageCountAdapter() { 82 * Folder folder = (Folder)ev.getSource(); 84 * System.out.println("Folder: " + folder + 88 * idleManager.watch(folder); // keep watching for new messages 94 * idleManager.watch(folder); 194 watch(Folder folder) argument 242 requestAbort(IMAPFolder folder) argument 500 folderName(Folder folder) argument [all...] |
H A D | MessageVanishedEvent.java | 49 * since the folder was last synchronized. 70 * @param folder the containing folder 73 public MessageVanishedEvent(Folder folder, long[] uids) { argument 74 super(folder, REMOVED, true, noMessages);
|
/javamail/client/src/main/java/ |
H A D | FolderTreeNode.java | 44 protected Folder folder = null; field in class:FolderTreeNode 54 folder = what; 63 if ((folder.getType() & Folder.HOLDS_FOLDERS) == 0) 73 * returns the folder for this node 76 return folder; 82 * return the number of children for this folder node. The first 102 // Folder[] sub = folder.listSubscribed(); 103 Folder[] sub = folder.list(); 121 * override toString() since we only want to display a folder's 122 * name, and not the full path of the folder [all...] |
/javamail/mail/src/main/java/javax/mail/event/ |
H A D | FolderEvent.java | 66 /** The folder was created. */ 68 /** The folder was deleted. */ 70 /** The folder was renamed. */ 81 * The folder the event occurred on. 83 transient protected Folder folder; field in class:FolderEvent 86 * The folder that represents the new name, in case of a RENAMED event. 98 * @param folder The affected folder 101 public FolderEvent(Object source, Folder folder, int type) { argument 102 this(source, folder, folde [all...] |
H A D | MessageCountEvent.java | 47 * This class notifies changes in the number of messages in a folder. <p> 49 * Note that some folder types may only deliver MessageCountEvents at 55 * A client may want to "poll" the folder by occasionally calling the 65 /** The messages were added to their folder */ 67 /** The messages were removed from their folder */ 80 * folder have been renumbered to account for this. 97 * @param folder The containing folder 101 * folder have been renumbered to account for this. 107 public MessageCountEvent(Folder folder, in argument [all...] |
/javamail/taglib/src/main/java/demo/ |
H A D | MessageTag.java | 44 private String folder; field in class:MessageTag 49 * folder attribute setter method. 52 return folder; 70 * folder setter method. 72 public void setFolder(String folder) { argument 73 this.folder = folder;
|
H A D | ListMessagesTag.java | 47 private String folder; field in class:ListMessagesTag 56 * folder attribute getter method. 59 return folder; 70 * folder setter method. 72 public void setFolder(String folder) { argument 73 this.folder = folder; 90 Folder folder = (Folder)pageContext.getAttribute( 93 messages = folder.search(ft);
|
/javamail/demo/src/main/java/ |
H A D | monitor.java | 66 Folder folder = store.getFolder(argv[3]); 67 if (folder == null || !folder.exists()) { 68 System.out.println("Invalid folder"); 72 folder.open(Folder.READ_WRITE); 75 folder.addMessageCountListener(new MessageCountAdapter() { 100 if (folder instanceof IMAPFolder) { 101 IMAPFolder f = (IMAPFolder)folder; 111 if (supportsIdle && folder instanceof IMAPFolder) { 112 IMAPFolder f = (IMAPFolder)folder; [all...] |
H A D | copier.java | 40 * copier will copy a specified number of messages from one folder 41 * to another folder. it demonstrates how to use the JavaMail APIs 45 * <i>src folder</i> <i>dest folder</i> <i>start msg #</i> <i>end msg #</i><p> 55 System.out.println( "usage: copier <urlname> <src folder>" + 56 "<dest folder> <start msg #> <end msg #>"); 62 String src = argv[1]; // source folder 63 String dest = argv[2]; // dest folder 78 Folder folder = store.getFolder(src); 79 folder [all...] |
H A D | folderlist.java | 137 static void dumpFolder(Folder folder, boolean recurse, String tab) argument 139 System.out.println(tab + "Name: " + folder.getName()); 140 System.out.println(tab + "Full Name: " + folder.getFullName()); 141 System.out.println(tab + "URL: " + folder.getURLName()); 144 if (!folder.isSubscribed()) 147 if ((folder.getType() & Folder.HOLDS_MESSAGES) != 0) { 148 if (folder.hasNewMessages()) 151 folder.getMessageCount()); 153 folder.getNewMessageCount()); 155 folder [all...] |
H A D | mover.java | 123 Folder folder = store.getFolder(src); 124 if (folder == null || !folder.exists()) { 125 System.out.println("Invalid folder: " + src); 129 folder.open(Folder.READ_WRITE); 131 int count = folder.getMessageCount(); 132 if (count == 0) { // No messages in the source folder 133 System.out.println(folder.getName() + " is empty"); 134 // Close folder, store and return 135 folder [all...] |
/javamail/mail/src/main/java/com/sun/mail/pop3/ |
H A D | POP3Message.java | 63 * back to the folder to close it and notify of connection lost events. 69 private POP3Folder folder; // overrides folder in MimeMessage field in class:POP3Message 72 String uid = UNKNOWN; // controlled by folder lock 78 public POP3Message(Folder folder, int msgno) argument 80 super(folder, msgno); 81 assert folder instanceof POP3Folder; 82 this.folder = (POP3Folder)folder; 96 folder [all...] |
/javamail/mail/src/test/java/com/sun/mail/imap/ |
H A D | IMAPFetchProfileTest.java | 85 public void test(Folder folder, IMAPHandlerFetch handler) argument 93 public void test(Folder folder, IMAPHandlerFetch handler) 97 Message m = folder.getMessage(1); 98 folder.fetch(new Message[] { m }, fp); 120 public void test(Folder folder, IMAPHandlerFetch handler) 124 Message m = folder.getMessage(1); 125 folder.fetch(new Message[] { m }, fp); 147 public void test(Folder folder, IMAPHandlerFetch handler) 149 Message m = folder.getMessage(1); 179 Folder folder [all...] |
H A D | IMAPUidExpungeTest.java | 74 public void test(Folder folder, IMAPHandlerExpunge handler) argument 82 public void test(Folder folder, IMAPHandlerExpunge handler) 84 Message m = ((UIDFolder)folder).getMessageByUID(2); 105 public void test(Folder folder, IMAPHandlerExpunge handler) 107 Message m = ((UIDFolder)folder).getMessageByUID(2); 128 public void test(Folder folder, IMAPHandlerExpunge handler) 130 Message[] msgs = ((UIDFolder)folder).getMessagesByUID(2, 4); 156 public void test(Folder folder, IMAPHandlerExpunge handler) 158 Message[] msgs = ((UIDFolder)folder).getMessagesByUID(2, 4); 184 public void test(Folder folder, IMAPHandlerExpung [all...] |
/javamail/webapp/src/main/java/demo/ |
H A D | MailUserBean.java | 42 private Folder folder; field in class:MailUserBean 58 return folder; 62 * Returns the number of messages in the folder. 65 return folder.getMessageCount(); 182 folder = store.getFolder(url); 184 folder.open(Folder.READ_WRITE); 204 folder.close(false);
|
/javamail/mail/src/test/java/com/sun/mail/pop3/ |
H A D | POP3FolderClosedExceptionTest.java | 89 final Folder folder = store.getFolder("INBOX"); 90 folder.open(Folder.READ_ONLY); 91 Message msg = folder.getMessage(1); 102 assertFalse(folder.isOpen()); 161 final Folder folder = store.getFolder("INBOX"); 162 folder.open(Folder.READ_ONLY); 163 Message msg = folder.getMessage(1); 167 assertFalse(folder.isOpen());
|