org.asunder
Class AsunderBootHandles

java.lang.Object
  extended by org.asunder.util.PasswordProtectedObjectsFile
      extended by org.asunder.AsunderBootHandles

public class AsunderBootHandles
extends PasswordProtectedObjectsFile

Author:
simms2k

Constructor Summary
AsunderBootHandles(java.lang.String fileName, char[] passwd)
          Creates a new instance of AsunderBootHandles
 
Method Summary
 void add(java.net.InetSocketAddress addr)
           
 void clear()
           
 java.util.Iterator<java.net.InetSocketAddress> iterator()
           
 void load()
          load addresses using file name and password from constructor note that this step is optional - you can call save() without having called load()
 void remove(java.net.InetSocketAddress addr)
           
 void save()
           
 
Methods inherited from class org.asunder.util.PasswordProtectedObjectsFile
close, openRead, openWrite, read, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsunderBootHandles

public AsunderBootHandles(java.lang.String fileName,
                          char[] passwd)
                   throws java.security.GeneralSecurityException
Creates a new instance of AsunderBootHandles

Throws:
java.security.GeneralSecurityException
Method Detail

load

public void load()
          throws java.io.IOException,
                 java.security.GeneralSecurityException,
                 java.lang.ClassNotFoundException
load addresses using file name and password from constructor note that this step is optional - you can call save() without having called load()

Throws:
java.io.IOException
java.security.GeneralSecurityException
java.lang.ClassNotFoundException

save

public void save()
          throws java.io.IOException,
                 java.security.GeneralSecurityException
Throws:
java.io.IOException
java.security.GeneralSecurityException

clear

public void clear()

iterator

public java.util.Iterator<java.net.InetSocketAddress> iterator()

add

public void add(java.net.InetSocketAddress addr)

remove

public void remove(java.net.InetSocketAddress addr)