org.biojava.bio.structure.align.webstart
Class PersistentConfig

java.lang.Object
  extended by org.biojava.bio.structure.align.webstart.PersistentConfig

public class PersistentConfig
extends Object

a class to store the config using the Java Web Start PersistenService.

Author:
Andreas Prlic

Constructor Summary
PersistentConfig()
           
 
Method Summary
 UserConfiguration load()
          loads Config from PersistenceService returns null if no PErsistenceService has been created ...
 void save(UserConfiguration config)
          writes the configuration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistentConfig

public PersistentConfig()
                 throws UnavailableServiceException
Throws:
UnavailableServiceException
Method Detail

save

public void save(UserConfiguration config)
writes the configuration

Parameters:
config -

load

public UserConfiguration load()
loads Config from PersistenceService returns null if no PErsistenceService has been created ...

Returns:
WebStartConfiguration