mail
Class Addressbook
java.lang.Object
mail.Addressbook
public class Addressbook
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LIST
private static final java.lang.String LIST
- See Also:
- Constant Field Values
friends
private java.util.Collection<FriendNode> friends
builder
private javax.xml.parsers.DocumentBuilder builder
trans
private javax.xml.transform.Transformer trans
basedir
private java.io.File basedir
enc
private EncSupply enc
Addressbook
public Addressbook(java.io.File basedir,
EncSupply enc)
throws LoadingException
- Throws:
LoadingException
getAll
public java.util.Vector<FriendNode> getAll()
get
public java.util.Collection<FriendNode> get(java.lang.String part)
getForID
public FriendNode getForID(ID id)
add
public void add(FriendNode fn)
throws SavingException
- Throws:
SavingException
remove
public boolean remove(FriendNode n)
throws SavingException
- Throws:
SavingException
save
public void save()
throws SavingException
- Throws:
SavingException
update
private void update()
throws SavingException
- Throws:
SavingException