public void rename(String subdir, MailTree newParent, String newName) { throw new RuntimeException("FIXME not implemented"); }
public Mailbox getMailbox() { return this; }
- public JS get(JS key) throws JSExn {
- return (JS)slash(JSU.toString(key), true);
- }
-
// FIXME: should be a File()
public static synchronized MailTree getFileBasedMailbox(String path, boolean create) {
if (path.endsWith(".sqlite")) path = path.substring(0, path.length()-".sqlite".length());
+ path = new File(path).getAbsolutePath().toString();
try {
MailTree ret = instances.get(path);
if (ret == null) {