public class XMLResourceBundleParser extends Object
| Constructor and Description |
|---|
XMLResourceBundleParser() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,String> |
asMap(InputSource in)
Load an xml resource bundle as a
Map<String,String> object. |
static Map<String,String> |
asMap(InputStream in) |
static Map<String,String> |
asMap(Reader in) |
static Properties |
asProperties(InputSource in) |
static Properties |
asProperties(InputStream in) |
static Properties |
asProperties(Reader in) |
public static Properties asProperties(InputStream in) throws IOException, SAXException, ParserConfigurationException, IllegalArgumentException
public static Properties asProperties(Reader in) throws IOException, SAXException, ParserConfigurationException, IllegalArgumentException
public static Properties asProperties(InputSource in) throws IOException, SAXException, ParserConfigurationException, IllegalArgumentException
public static Map<String,String> asMap(InputStream in) throws IOException, SAXException, ParserConfigurationException, IllegalArgumentException
public static Map<String,String> asMap(Reader in) throws IOException, SAXException, ParserConfigurationException, IllegalArgumentException
public static Map<String,String> asMap(InputSource in) throws IOException, SAXException, ParserConfigurationException, IllegalArgumentException
Map<String,String> object.in - the input sourceIOException - any IOExceptionSAXException - any SAXExceptionParserConfigurationException - any ParserConfigurationExceptionIllegalArgumentException - if the argument is nullCopyright © 2017 JBoss by Red Hat. All Rights Reserved.