Mailbox -> MailboxTree separation
[org.ibex.mail.git] / src / org / ibex / mail / MailboxTree.java
diff --git a/src/org/ibex/mail/MailboxTree.java b/src/org/ibex/mail/MailboxTree.java
new file mode 100644 (file)
index 0000000..9e0bafe
--- /dev/null
@@ -0,0 +1,20 @@
+// Copyright 2000-2005 the Contributors, as shown in the revision logs.
+// Licensed under the Apache Public Source License 2.0 ("the License").
+// You may not use this file except in compliance with the License.
+
+package org.ibex.mail;
+import org.ibex.mail.*;
+import org.ibex.util.*;
+import org.ibex.mail.*;
+import org.ibex.js.*;
+import java.io.*;
+import java.net.*;
+import java.util.*;
+import java.text.*;
+
+/** a node on the "mailbox tree" */
+public abstract class MailboxTree extends JS.Obj {
+    public abstract MailboxTree  slash(String name, boolean create);
+    public abstract String[]     children();
+    public          Mailbox      getMailbox() { return null; }
+}