blob: 34942d02335dcdf4315cddec6f5243618dcf0ff3 [file] [log] [blame]
package javax.mail;
/**
* Mock class providing the declarations required to compile the Cocoon code when
* the actual library is not present.
*
* @version CVS $Id: Folder.java,v 1.3 2003/11/06 16:23:41 cziegeler Exp $
*/
public class Folder {
public static final int READ_ONLY = 1;
public static final int READ_WRITE = 2;
public static final int HOLDS_FOLDERS = 2;
public static final int HOLDS_MESSAGES = 1;
public void open(int mode) {
throw new NoSuchMethodError("This is a mock object");
}
public boolean isOpen() {
throw new NoSuchMethodError("This is a mock object");
}
public void close(boolean b) {
throw new NoSuchMethodError("This is a mock object");
}
public Message[] getMessages() {
throw new NoSuchMethodError("This is a mock object");
}
public void fetch(Message[] m, FetchProfile profile) {
throw new NoSuchMethodError("This is a mock object");
}
public Folder[] list(String pattern) {
throw new NoSuchMethodError("This is a mock object");
}
public String getFullName() {
throw new NoSuchMethodError("This is a mock object");
}
public Message getMessage(int id) {
throw new NoSuchMethodError("This is a mock object");
}
public Message[] search(javax.mail.search.SearchTerm term) {
throw new NoSuchMethodError("This is a mock object");
}
public String getName() {
throw new NoSuchMethodError("This is a mock object");
}
public URLName getURLName() {
throw new NoSuchMethodError("This is a mock object");
}
public boolean isSubscribed() {
throw new NoSuchMethodError("This is a mock object");
}
public int getType() {
throw new NoSuchMethodError("This is a mock object");
}
public boolean hasNewMessages() {
throw new NoSuchMethodError("This is a mock object");
}
public int getMessageCount() {
throw new NoSuchMethodError("This is a mock object");
}
public int getNewMessageCount() {
throw new NoSuchMethodError("This is a mock object");
}
public int getDeletedMessageCount() {
throw new NoSuchMethodError("This is a mock object");
}
public int getUnreadMessageCount() {
throw new NoSuchMethodError("This is a mock object");
}
}