public class ConfFileUtils extends Object
| Constructor and Description |
|---|
ConfFileUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Properties |
getProperties(URL url)
Load a Properties file from a URL, return null if it fails
|
static URL |
getURL(String confName,
ClassLoader classLoader,
Class cls)
Return the URL for a given conf file
|
static URL |
getURLForFile(String fileName)
Return URL for given filename
|
static String |
URLContentsToString(URL url) |
public static URL getURL(String confName, ClassLoader classLoader, Class cls)
confName - classLoader - public static URL getURLForFile(String fileName)
fileName - public static Properties getProperties(URL url)
url - Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.