public class JSONRuleParser extends Object
Constructor and Description |
---|
JSONRuleParser() |
Modifier and Type | Method and Description |
---|---|
Double |
extractDoubleKeyword(com.fasterxml.jackson.databind.JsonNode node,
String keyword,
boolean isRequired) |
Integer |
extractIntKeyword(com.fasterxml.jackson.databind.JsonNode node,
String keyword,
boolean isRequired) |
String |
extractStringKeyword(com.fasterxml.jackson.databind.JsonNode node,
String keyword,
boolean isRequired) |
String |
getAllErrors() |
List<String> |
getErrors() |
IUPACRuleDataBase |
loadIUPACRuleDataBase(String jsonFileName) |
public String getAllErrors()
public IUPACRuleDataBase loadIUPACRuleDataBase(String jsonFileName) throws Exception
Exception
public String extractStringKeyword(com.fasterxml.jackson.databind.JsonNode node, String keyword, boolean isRequired)
public Double extractDoubleKeyword(com.fasterxml.jackson.databind.JsonNode node, String keyword, boolean isRequired)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.