public class DefaultFolder
extends Folder
Modifier and Type | Method and Description |
---|---|
void |
appendMessages(Message[] msgs) |
void |
close(boolean expunge) |
boolean |
create(int type) |
boolean |
delete(boolean recurse) |
boolean |
exists() |
Message[] |
expunge() |
Folder |
getFolder(java.lang.String name) |
java.lang.String |
getFullName() |
Message |
getMessage(int msgno) |
int |
getMessageCount() |
java.lang.String |
getName() |
Folder |
getParent() |
Flags |
getPermanentFlags() |
char |
getSeparator() |
int |
getType() |
boolean |
hasNewMessages() |
boolean |
isOpen() |
Folder[] |
list(java.lang.String pattern) |
void |
open(int mode) |
boolean |
renameTo(Folder f) |
public java.lang.String getName()
public java.lang.String getFullName()
public Folder getParent()
public boolean exists()
public Folder[] list(java.lang.String pattern) throws MessagingException
MessagingException
public char getSeparator()
public int getType()
public boolean create(int type) throws MessagingException
MessagingException
public boolean hasNewMessages() throws MessagingException
MessagingException
public Folder getFolder(java.lang.String name) throws MessagingException
MessagingException
public boolean delete(boolean recurse) throws MessagingException
MessagingException
public boolean renameTo(Folder f) throws MessagingException
MessagingException
public void open(int mode) throws MessagingException
MessagingException
public void close(boolean expunge) throws MessagingException
MessagingException
public boolean isOpen()
public Flags getPermanentFlags()
public int getMessageCount() throws MessagingException
MessagingException
public Message getMessage(int msgno) throws MessagingException
MessagingException
public void appendMessages(Message[] msgs) throws MessagingException
MessagingException
public Message[] expunge() throws MessagingException
MessagingException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"