org.rhq.plugins.jbossas5.util
Class JBossConfigurationUtility
java.lang.Object
org.rhq.plugins.jbossas5.util.JBossConfigurationUtility
public class JBossConfigurationUtility
- extends Object
- Author:
- Ian Springer
|
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 |
JBossConfigurationUtility
public JBossConfigurationUtility()
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.