Uses of Class
com.semedy.reasoner.api.parser.SimpleParseException
Package
Description
-
Uses of SimpleParseException in com.semedy.reasoner.api.core
Modifier and TypeMethodDescriptionvoid
load files from file path
path can be a directory or a single file
files are distinguished by their endings:
.raw, .raw.zip, .rls, .fctvoid
load files from file paths
files are distinguished by their endings:
.raw, .raw.zip, .rls, .fctvoid
DeductiveDatabase.loadByStream
(InputStream in, InputStream companionstream, String format) load facts by stream. format is either the file format like raw,json,nq etc.void
DeductiveDatabase.loadPredicates
(InputStream input) Load facts and/or rules in predicate format from an input stream.void
Core.slowLoadMixed
(InputStream input) Loads from an input stream facts and rules in usual predicate syntax.void
Core.slowLoadMixedFiles
(List<String> files) Loads files for facts and rules in usual predicate syntax. -
Uses of SimpleParseException in com.semedy.reasoner.api.parser
Modifier and TypeMethodDescriptionvoid
SyntaxChecker.checkSyntax
(InputStream input) check the syntax of rules, queries and facts in input streamvoid
SyntaxChecker.checkSyntax
(Reader input) check the syntax of rules, queries and facts in input readervoid
SyntaxChecker.checkSyntax
(StringReader input) check the syntax of rules, queries and facts in string readervoid
SyntaxChecker.checkSyntax
(String input) check the syntax of rules, queries and facts in input stringvoid
SyntaxColorer.colorSyntax
(InputStream input, List<ColorRange> ranges) color the syntax of rules, queries and facts in input streamvoid
SyntaxColorer.colorSyntax
(Reader input, List<ColorRange> ranges) color the syntax of rules, queries and facts in input readervoid
SyntaxColorer.colorSyntax
(StringReader input, List<ColorRange> ranges) color the syntax of rules, queries and facts in string readervoid
SyntaxColorer.colorSyntax
(String input, List<ColorRange> ranges) check the syntax of rules, queries and facts in input stringParserUtils.loadAllPredicateSymbols
(String directoryPath, int maxTermLength) return all predicate symbols in all files in same (flat) directoryfinal Object
parse a term out of a string -
Uses of SimpleParseException in com.semedy.reasoner.app
-
Uses of SimpleParseException in com.semedy.reasoner.core
Modifier and TypeMethodDescriptionJsonUtils.createLiterals
(Collection<org.json.JSONObject> jsons, TermParser parser, String module, boolean encode, Set<String> setProperties) Creating literals out of a set of Json objectsJsonUtils.createLiterals
(org.json.JSONObject json, TermParser parser, Object module, boolean encode, Set<String> setProperties) Creating literals out of a json objectJsonUtils.createTriples
(Collection<org.json.JSONObject> jsons, TermParser parser, boolean encode, Set<String> setProperties) Creating triples out of a set of Json objectsJsonUtils.createTriples
(org.json.JSONObject json, TermParser parser, boolean encode, Set<String> setProperties) Creating triples out of a json objectstatic boolean
JsonUtils.isContainedIn
(String json, List<org.json.JSONObject> jsons, TermParser parser, String[] setProperties) Is json contained in jsonsstatic boolean
JsonUtils.isContainedIn
(org.json.JSONObject jsonobj, String jsons, TermParser parser) Is json contained in jsonsstatic boolean
JsonUtils.isContainedIn
(org.json.JSONObject jsonobj, String jsons, TermParser parser, String[] setProperties) Is json contained in jsonsstatic boolean
JsonUtils.isEqual
(String json1, String json2, TermParser parser) Is json1 object equal to json2 objectstatic boolean
JsonUtils.isEqual
(String json1, String json2, TermParser parser, String[] setProperties) Is json1 object equal to json2 objectstatic boolean
JsonUtils.isEqual
(org.json.JSONObject json1, String json2, TermParser parser, String[] setProperties) static boolean
JsonUtils.isEqual
(org.json.JSONObject json1, org.json.JSONObject json2, TermParser parser, String[] setProperties) -
Uses of SimpleParseException in com.semedy.reasoner.parser.oologic
Modifier and TypeMethodDescriptionTokenizer.next()
void
Tokenizer.readBlank()
Tokenizer.readComment()
void
Tokenizer.readNext()
void
Tokenizer.readNextChar()
Tokenizer.readPositiveInteger()