public class SPECCHIOServerDescriptorLegacyStore extends SPECCHIOServerDescriptorStore
| Constructor and Description |
|---|
SPECCHIOServerDescriptorLegacyStore(java.io.File file)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addServerDescriptor(SPECCHIOServerDescriptor d)
Add the configuration for an account to the configuration file.
|
java.util.Iterator<SPECCHIOServerDescriptor> |
getIterator()
Get an iterator through all of the descriptors in the store.
|
void |
updateServerDescriptor(SPECCHIOServerDescriptor d)
Update the configuration for an account in the configuration file.
|
public SPECCHIOServerDescriptorLegacyStore(java.io.File file)
throws java.io.IOException,
SPECCHIOClientException
file - the file from which to read the server descriptorsjava.io.IOException - file errorSPECCIOClientException - invalid data found in the fileSPECCHIOClientExceptionpublic void addServerDescriptor(SPECCHIOServerDescriptor d) throws java.io.IOException
addServerDescriptor in class SPECCHIOServerDescriptorStored - the descriptor of the server on which the new account existsjava.io.IOException - file errorpublic java.util.Iterator<SPECCHIOServerDescriptor> getIterator()
getIterator in class SPECCHIOServerDescriptorStorepublic void updateServerDescriptor(SPECCHIOServerDescriptor d) throws java.io.IOException
SPECCHIOServerDescriptorStoreupdateServerDescriptor in class SPECCHIOServerDescriptorStored - the descriptor of the server on which the new account existsjava.io.IOException - the backing store failed