public class XmlParser extends Object
| Modifier and Type | Method and Description |
|---|---|
static Map<String,String> |
parse(File file)
Loads and parses the file provided in constructor and prepares properties object with the data
|
static Map<String,String> |
parse(InputStream is) |
static Map<String,String> |
parse(URL url) |
public static Map<String,String> parse(File file) throws ParserConfigurationException, FileNotFoundException, IOException, CXPException
file - ParserConfigurationExceptionFileNotFoundExceptionCXPExceptionIOExceptionpublic static Map<String,String> parse(URL url) throws ParserConfigurationException, FileNotFoundException, IOException, CXPException
public static Map<String,String> parse(InputStream is) throws ParserConfigurationException, FileNotFoundException, IOException, CXPException
Copyright © 2017. All rights reserved.