Class XBeanFileResolver


  • public class XBeanFileResolver
    extends Object
    Helper to convert relative paths to XBean description files to URL-compliant absolute paths.
    Author:
    Marc CARRE
    • Constructor Detail

      • XBeanFileResolver

        public XBeanFileResolver()
    • Method Detail

      • isXBeanFile

        public boolean isXBeanFile​(String configUri)
        Check if the provided path is an URL to a XBean file (xbean:file:)
      • toUrlCompliantAbsolutePath

        public String toUrlCompliantAbsolutePath​(String configUri)
        Convert provided path into a URL-style absolute path. See also: http://maven.apache.org/plugin-developers/common-bugs.html# Converting_between_URLs_and_Filesystem_Paths