Package com.semedy.reasoner.api.parser
Class SyntaxChecker
java.lang.Object
com.semedy.reasoner.api.parser.SyntaxChecker
separate syntax checker for facts and rules
- Author:
- angele
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkSyntax
(InputStream input) check the syntax of rules, queries and facts in input streamvoid
checkSyntax
(Reader input) check the syntax of rules, queries and facts in input readervoid
checkSyntax
(StringReader input) check the syntax of rules, queries and facts in string readervoid
checkSyntax
(String input) check the syntax of rules, queries and facts in input string
-
Constructor Details
-
SyntaxChecker
public SyntaxChecker()
-
-
Method Details
-
checkSyntax
check the syntax of rules, queries and facts in input stream- Parameters:
input
- , input stream- Throws:
IOException
SimpleParseException
-
checkSyntax
check the syntax of rules, queries and facts in string reader- Parameters:
input
- , string reader- Throws:
IOException
SimpleParseException
-
checkSyntax
check the syntax of rules, queries and facts in input reader- Parameters:
input
- , input reader- Throws:
IOException
SimpleParseException
-
checkSyntax
check the syntax of rules, queries and facts in input string- Parameters:
input
- , input string- Throws:
SimpleParseException
-