|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.uhn.hl7v2.conf.store.URLProfileStore
public abstract class URLProfileStore
A read-only profile store that loads profiles from URLs. The URL for a profile is determined by the method getURL(). An attempt is also made to write
| Constructor Summary | |
|---|---|
URLProfileStore()
Creates a new instance of URLProfileStore |
|
| Method Summary | |
|---|---|
String |
getProfile(String ID)
Retrieves profile from persistent storage (by ID). |
abstract URL |
getURL(String ID)
Returns the URL from which to read a profile given the profile ID. |
void |
persistProfile(String ID,
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 URLProfileStore()
| Method Detail |
|---|
public String getProfile(String ID)
throws IOException
getProfile in interface ProfileStoreIOException
public void persistProfile(String ID,
String profile)
throws IOException
persistProfile in interface ProfileStoreIOException
public abstract URL getURL(String ID)
throws MalformedURLException
MalformedURLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||