|
||||||||||
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 | |
---|---|
java.lang.String |
getProfile(java.lang.String ID)
Retrieves profile from persistent storage (by ID). |
abstract java.net.URL |
getURL(java.lang.String ID)
Returns the URL from which to read a profile given the profile 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 URLProfileStore()
Method Detail |
---|
public java.lang.String getProfile(java.lang.String ID) throws java.io.IOException
getProfile
in interface ProfileStore
java.io.IOException
public void persistProfile(java.lang.String ID, java.lang.String profile) throws java.io.IOException
persistProfile
in interface ProfileStore
java.io.IOException
public abstract java.net.URL getURL(java.lang.String ID) throws java.net.MalformedURLException
java.net.MalformedURLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |