org.rhq.plugins.jslee.jbossas5.util
Class JBossConfigurationUtility

java.lang.Object
  extended by org.rhq.plugins.jslee.jbossas5.util.JBossConfigurationUtility

public class JBossConfigurationUtility
extends java.lang.Object

Author:
Ian Springer

Constructor Summary
JBossConfigurationUtility()
           
 
Method Summary
static java.net.URL makeURL(java.lang.String urlSpec, java.io.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 java.net.URL makeURL(java.lang.String urlSpec,
                                   @Nullable
                                   java.io.File baseDir)
                            throws java.net.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:
java.net.MalformedURLException


Copyright © 2012. All Rights Reserved.