public class URLResource extends Object implements Resource
Resource implementation wrapping a resource URL.| Constructor and Description | 
|---|
| URLResource(URL url) | 
| Modifier and Type | Method and Description | 
|---|---|
| Resource | getRelativeResource(String relativePath)Returns a resource resolved relatively to the current resource. | 
| URL | getURL()Returns a resource URL to read (and possibly write) the resource data. | 
| String | toString() | 
public URLResource(URL url)
public Resource getRelativeResource(String relativePath)
ResourcegetRelativeResource in interface Resourcepublic URL getURL()
ResourceCopyright © 2001–2023 Apache Cayenne. All rights reserved.