public class FileProfileStore extends Object implements ProfileStore
| Constructor and Description |
|---|
FileProfileStore(String file)
Creates a new instance of FileProfileStore
|
| Modifier and Type | Method and Description |
|---|---|
String |
getProfile(String ID)
Retrieves profile from persistent storage (by ID).
|
void |
persistProfile(String ID,
String profile)
Stores profile in persistent storage with given ID.
|
public FileProfileStore(String file)
public String getProfile(String ID) throws IOException
getProfile in interface ProfileStoreIOExceptionpublic void persistProfile(String ID, String profile) throws IOException
persistProfile in interface ProfileStoreIOExceptionCopyright © 2001-2012 University Health Network. All Rights Reserved.