|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.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 RepositoryIOException
protected URL getResourceUrl(String resourceName)
throws MalformedURLException
resourceName -
MalformedURLExceptionpublic URL getBaseUrl()
public void setBaseUrl(URL baseUrl)
baseUrl -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||