Lines Matching refs:Folder
33 import com.android.emailcommon.mail.Folder;
34 import com.android.emailcommon.mail.Folder.OpenMode;
62 private final HashMap<String, Folder> mFolders = new HashMap<String, Folder>();
146 public Folder getFolder(String name) {
147 Folder folder = mFolders.get(name);
148 if (folder == null) {
149 folder = new Pop3Folder(name);
150 mFolders.put(folder.getName(), folder);
152 return folder;
163 public Folder[] updateFolders() {
182 return new Folder[] { getFolder(POP3_MAILBOX_NAME) };
194 Pop3Folder folder = new Pop3Folder(POP3_MAILBOX_NAME);
198 folder.close(false);
201 folder.open(OpenMode.READ_WRITE);
202 bundle = folder.checkSettings();
204 folder.close(false); // false == don't expunge anything
209 class Pop3Folder extends Folder {
268 throw new MessagingException("Folder does not exist");
340 * Close the folder (and the transport below it).
362 // POP3 does not folder creation
878 public void copyMessages(Message[] msgs, Folder folder, MessageUpdateCallbacks callbacks) {
986 public Pop3Message(String uid, Pop3Folder folder) {
988 mFolder = folder;