Package org.apache.cayenne.resource
Class URLResource
java.lang.Object
org.apache.cayenne.resource.URLResource
- All Implemented Interfaces:
Serializable
,Resource
A
Resource
implementation wrapping a resource URL.- Since:
- 3.1
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
URLResource
-
-
Method Details
-
getRelativeResource
Description copied from interface:Resource
Returns a resource resolved relatively to the current resource. E.g. DataMap files can be resolved relatively to cayenne.xml.- Specified by:
getRelativeResource
in interfaceResource
-
getURL
Description copied from interface:Resource
Returns a resource URL to read (and possibly write) the resource data. -
toString
-