|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cayenne.resource.URLResource
public class URLResource
A Resource
implementation wrapping a resource URL.
Constructor Summary | |
---|---|
URLResource(java.net.URL url)
|
Method Summary | |
---|---|
Resource |
getRelativeResource(java.lang.String relativePath)
Returns a resource resolved relatively to the current resource. |
java.net.URL |
getURL()
Returns a resource URL to read (and possibly write) the resource data. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public URLResource(java.net.URL url)
Method Detail |
---|
public Resource getRelativeResource(java.lang.String relativePath)
Resource
getRelativeResource
in interface Resource
public java.net.URL getURL()
Resource
getURL
in interface Resource
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |