Class URLResource

    • Constructor Detail

      • URLResource

        public URLResource​(URL url)
    • Method Detail

      • getRelativeResource

        public Resource getRelativeResource​(String relativePath)
        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 interface Resource
      • getURL

        public URL getURL()
        Description copied from interface: Resource
        Returns a resource URL to read (and possibly write) the resource data.
        Specified by:
        getURL in interface Resource