rename MailboxTree -> MailTree
[org.ibex.mail.git] / src / org / ibex / mail / Account.java
1 // Copyright 2000-2005 the Contributors, as shown in the revision logs.
2 // Licensed under the Apache Public Source License 2.0 ("the License").
3 // You may not use this file except in compliance with the License.
4
5 package org.ibex.mail;
6 import org.ibex.mail.target.*;
7
8 public class Account {
9
10     public final String user;
11     public final Address address;
12     protected MailTree root = null;
13
14     public MailTree getMailbox(Class protocol) { return this.root; }
15
16     protected Account(String user, Address address) { this.user = user; this.address = address; }
17     public Account(String user, Address address, MailTree root) { this.user = user; this.address = address; this.root = root; }
18
19 }