org.apache.activemq.maven
Class XBeanFileResolver

java.lang.Object
  extended by org.apache.activemq.maven.XBeanFileResolver

public class XBeanFileResolver
extends Object

Helper to convert relative paths to XBean description files to URL-compliant absolute paths.

Author:
Marc CARRE

Method Summary
static boolean isXBeanFile(String configUri)
          Check if the provided path is an URL to a XBean file (xbean:file:)
static String toUrlCompliantAbsolutePath(String configUri)
          Convert provided path into a URL-style absolute path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isXBeanFile

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


toUrlCompliantAbsolutePath

public static 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



Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.