public final class MapParser extends Object
Modifier and Type | Method and Description |
---|---|
static Map |
parse(InputStream xmlStream)
Deprecated.
please use parse(Reader)
|
static Map<String,Object> |
parse(Reader xmlStreamReader,
Parser pzparser)
New method based on Reader.
|
static MetaData |
parseMap(Reader xmlStreamReader,
Parser pzparser)
New method based on Reader.
|
static void |
setDebug(boolean b)
If set to true, debug information for the map file will be thrown to the
console after the parse is finished
|
@Deprecated public static Map parse(InputStream xmlStream) throws org.jdom.JDOMException, IOException
xmlStream
- IOException
org.jdom.JDOMException
public static Map<String,Object> parse(Reader xmlStreamReader, Parser pzparser) throws org.jdom.JDOMException, IOException
xmlStreamReader
- pzparser
- Can be null. Allows additional opts to be set during the XML map readIOException
org.jdom.JDOMException
public static void setDebug(boolean b)
b
- public static MetaData parseMap(Reader xmlStreamReader, Parser pzparser) throws org.jdom.JDOMException, IOException
xmlStreamReader
- pzparser
- Can be null. Allows additional opts to be set during the XML map readIOException
org.jdom.JDOMException
Copyright © 2006–2019 Appendium - Portfolio Financing Platform. All rights reserved.