public void setFlags(int[] msgnums, Flags flag, boolean value) throws MessagingException {
   folder.setFlags(msgnums, flag, value);
 }
 public void open(int mode) throws MessagingException {
   folder.open(mode);
 }
 public URLName getURLName() throws MessagingException {
   return folder.getURLName();
 }
 public boolean hasNewMessages() throws MessagingException {
   return folder.hasNewMessages();
 }
 public boolean delete(boolean recurse) throws MessagingException {
   return folder.delete(recurse);
 }
 public Folder[] list(String pattern) throws MessagingException {
   return folder.list(pattern);
 }
 public int getType() {
   return folder.getType();
 }
 public void addMessageCountListener(MessageCountListener l) {
   folder.addMessageCountListener(l);
 }
 public void removeMessageCountListener(MessageCountListener l) {
   folder.removeMessageCountListener(l);
 }
 public void addFolderListener(FolderListener l) {
   folder.addFolderListener(l);
 }
 public void removeFolderListener(FolderListener l) {
   folder.removeFolderListener(l);
 }
 public void removeConnectionListener(ConnectionListener l) {
   folder.removeConnectionListener(l);
 }
 public void addConnectionListener(ConnectionListener l) {
   folder.addConnectionListener(l);
 }
 public Message[] search(SearchTerm term, Message[] msgs) throws MessagingException {
   return folder.search(term, msgs);
 }
 public Folder getParent() {
   return folder.getParent();
 }
 public void addMessageChangedListener(MessageChangedListener l) {
   folder.addMessageChangedListener(l);
 }
 public boolean exists() {
   return folder.exists();
 }
 public void removeMessageChangedListener(MessageChangedListener l) {
   folder.removeMessageChangedListener(l);
 }
 public char getSeparator() {
   return folder.getSeparator();
 }
 public String toString() {
   return folder.toString();
 }
 public boolean create(int type) throws MessagingException {
   return folder.create(type);
 }
 @Override
 public void close() throws MessagingException {
   folder.close(expunge);
 }
 public Folder getFolder(String name) throws MessagingException {
   return folder.getFolder(name);
 }
 public int hashCode() {
   return folder.hashCode();
 }
 public boolean renameTo(Folder f) throws MessagingException {
   return folder.renameTo(f);
 }
 public boolean equals(Object obj) {
   return folder.equals(obj);
 }
 public void close(boolean expunge) throws MessagingException {
   folder.close(expunge);
 }
 public String getFullName() {
   return folder.getFullName();
 }
 public Store getStore() {
   return folder.getStore();
 }
 public void setFlags(int start, int end, Flags flag, boolean value) throws MessagingException {
   folder.setFlags(start, end, flag, value);
 }