|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.krecan.m2_proxy.repository.UrlRepository
public class UrlRepository
URL based repository. Obsolete, not used any more
Constructor Summary | |
---|---|
UrlRepository()
|
Method Summary | |
---|---|
URL |
getBaseUrl()
|
protected URL |
getResourceUrl(String resourceName)
Returns resource URL. |
Resource |
loadResource(String resourceName)
Loads resource from file. |
void |
setBaseUrl(URL baseUrl)
Sets base url |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UrlRepository()
Method Detail |
---|
public Resource loadResource(String resourceName) throws IOException
loadResource
in interface Repository
IOException
protected URL getResourceUrl(String resourceName) throws MalformedURLException
resourceName
-
MalformedURLException
public URL getBaseUrl()
public void setBaseUrl(URL baseUrl)
baseUrl
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |