org.rhq.plugins.jbossas.util
Class JBossConfigurationUtility

java.lang.Object
  extended by org.rhq.plugins.jbossas.util.JBossConfigurationUtility

public class JBossConfigurationUtility
extends Object

Author:
Ian Springer

Constructor Summary
JBossConfigurationUtility()
           
 
Method Summary
static URL makeURL(String urlSpec, File baseDir)
          Returns an absolute URL representing the specified relative or absolute URL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBossConfigurationUtility

public JBossConfigurationUtility()
Method Detail

makeURL

public static URL makeURL(String urlSpec,
                          @Nullable
                          File baseDir)
                   throws MalformedURLException
Returns an absolute URL representing the specified relative or absolute URL. Relative URLs are assumed to represent local files and are resolved relative to the specified base directory. All file URLs are returned in canonical form.

Parameters:
urlSpec -
baseDir -
Returns:
Throws:
MalformedURLException


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.