@Typed public abstract class PropertyFileUtils extends Object
Modifier and Type | Method and Description |
---|---|
static ResourceBundle |
getResourceBundle(String bundleName) |
static ResourceBundle |
getResourceBundle(String bundleName,
Locale locale)
This uses the correct ThreadContextClassLoader if deployed in an Container.
|
static Properties |
loadProperties(URL url) |
static Enumeration<URL> |
resolvePropertyFiles(String propertyFileName) |
public static Enumeration<URL> resolvePropertyFiles(String propertyFileName) throws IOException
IOException
public static Properties loadProperties(URL url)
public static ResourceBundle getResourceBundle(String bundleName)
public static ResourceBundle getResourceBundle(String bundleName, Locale locale)
Copyright © 2020 The Apache Software Foundation. All rights reserved.