Uses of Class
com.semedy.reasoner.api.parser.SimpleParseException
Packages that use SimpleParseException
Package
Description
-
Uses of SimpleParseException in com.semedy.reasoner.api.core
Methods in com.semedy.reasoner.api.core that throw SimpleParseExceptionModifier and TypeMethodDescriptionvoidload files from file path
path can be a directory or a single file
files are distinguished by their endings:
.raw, .raw.zip, .rls, .fctvoidload files from file paths
files are distinguished by their endings:
.raw, .raw.zip, .rls, .fctvoidDeductiveDatabase.loadByStream(InputStream in, InputStream companionstream, String format) load facts by stream. format is either the file format like raw,json,nq etc.voidDeductiveDatabase.loadPredicates(InputStream input) Load facts and/or rules in predicate format from an input stream.voidCore.slowLoadMixed(InputStream input) Loads from an input stream facts and rules in usual predicate syntax.voidCore.slowLoadMixedFiles(List<String> files) Loads files for facts and rules in usual predicate syntax. -
Uses of SimpleParseException in com.semedy.reasoner.api.parser
Methods in com.semedy.reasoner.api.parser that throw SimpleParseExceptionModifier and TypeMethodDescriptionvoidSyntaxChecker.checkSyntax(InputStream input) check the syntax of rules, queries and facts in input streamvoidSyntaxChecker.checkSyntax(Reader input) check the syntax of rules, queries and facts in input readervoidSyntaxChecker.checkSyntax(StringReader input) check the syntax of rules, queries and facts in string readervoidSyntaxChecker.checkSyntax(String input) check the syntax of rules, queries and facts in input stringvoidSyntaxColorer.colorSyntax(InputStream input, List<ColorRange> ranges) color the syntax of rules, queries and facts in input streamvoidSyntaxColorer.colorSyntax(Reader input, List<ColorRange> ranges) color the syntax of rules, queries and facts in input readervoidSyntaxColorer.colorSyntax(StringReader input, List<ColorRange> ranges) color the syntax of rules, queries and facts in string readervoidSyntaxColorer.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 Objectparse a term out of a string -
Uses of SimpleParseException in com.semedy.reasoner.app
Methods in com.semedy.reasoner.app that throw SimpleParseException -
Uses of SimpleParseException in com.semedy.reasoner.core
Methods in com.semedy.reasoner.core that throw SimpleParseExceptionModifier 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 booleanJsonUtils.isContainedIn(String json, List<org.json.JSONObject> jsons, TermParser parser, String[] setProperties) Is json contained in jsonsstatic booleanJsonUtils.isContainedIn(org.json.JSONObject jsonobj, String jsons, TermParser parser) Is json contained in jsonsstatic booleanJsonUtils.isContainedIn(org.json.JSONObject jsonobj, String jsons, TermParser parser, String[] setProperties) Is json contained in jsonsstatic booleanJsonUtils.isEqual(String json1, String json2, TermParser parser) Is json1 object equal to json2 objectstatic booleanJsonUtils.isEqual(String json1, String json2, TermParser parser, String[] setProperties) Is json1 object equal to json2 objectstatic booleanJsonUtils.isEqual(org.json.JSONObject json1, String json2, TermParser parser, String[] setProperties) static booleanJsonUtils.isEqual(org.json.JSONObject json1, org.json.JSONObject json2, TermParser parser, String[] setProperties) -
Uses of SimpleParseException in com.semedy.reasoner.parser.oologic
Methods in com.semedy.reasoner.parser.oologic that throw SimpleParseExceptionModifier and TypeMethodDescriptionTokenizer.next()voidTokenizer.readBlank()Tokenizer.readComment()voidTokenizer.readNext()voidTokenizer.readNextChar()Tokenizer.readPositiveInteger()Constructors in com.semedy.reasoner.parser.oologic that throw SimpleParseException