public class EscherParser
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.ResourceBundle |
bundle
Localization support.
|
Constructor and Description |
---|
EscherParser() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
createMapId(java.io.File jsonFile) |
EscherMap |
parse(java.io.File jsonFile) |
EscherMap |
parse(java.io.InputStream inputStream,
java.lang.String defaultMapId) |
public EscherMap parse(java.io.File jsonFile) throws java.io.IOException, org.json.simple.parser.ParseException
jsonFile
- org.json.simple.parser.ParseException
java.io.IOException
java.io.FileNotFoundException
public EscherMap parse(java.io.InputStream inputStream, java.lang.String defaultMapId) throws java.io.IOException, org.json.simple.parser.ParseException
inputStream
- defaultMapId
- java.io.IOException
org.json.simple.parser.ParseException
public static java.lang.String createMapId(java.io.File jsonFile)
jsonFile
-