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