|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectca.uhn.hl7v2.conf.store.FileProfileStore
public class FileProfileStore
Stores profiles in a local directory. Profiles are stored as text in files named ID.xml (where ID is the profile ID).
| Constructor Summary | |
|---|---|
FileProfileStore(java.lang.String file)
Creates a new instance of FileProfileStore |
|
| Method Summary | |
|---|---|
java.lang.String |
getProfile(java.lang.String ID)
Retrieves profile from persistent storage (by ID). |
void |
persistProfile(java.lang.String ID,
java.lang.String profile)
Stores profile in persistent storage with given ID. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileProfileStore(java.lang.String file)
| Method Detail |
|---|
public java.lang.String getProfile(java.lang.String ID)
throws java.io.IOException
getProfile in interface ProfileStorejava.io.IOException
public void persistProfile(java.lang.String ID,
java.lang.String profile)
throws java.io.IOException
persistProfile in interface ProfileStorejava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||