Module org.controlsfx.controls
Class StringParser<T>
java.lang.Object
impl.org.controlsfx.tableview2.filter.parser.string.StringParser<T>
- All Implemented Interfaces:
Parser<T>
-
Constructor Summary
ConstructorsConstructorDescriptionStringParser(boolean caseSensitive) StringParser(boolean caseSensitive, StringConverter<T> converter) -
Method Summary
Modifier and TypeMethodDescriptionA string with the error message if the parser fails to parse the supplied string.Return the symbol related to an operator text which can be used with this parser.booleanbooleanChecks if the supplied text is valid or not.Returns the list of operators which can be used with this parser.voidsetCaseSensitive(boolean caseSensitive) voidsetConverter(StringConverter<T> converter)
-
Constructor Details
-
StringParser
public StringParser() -
StringParser
public StringParser(boolean caseSensitive) -
StringParser
-
-
Method Details
-
getConverter
-
setConverter
-
isCaseSensitive
public boolean isCaseSensitive() -
setCaseSensitive
public void setCaseSensitive(boolean caseSensitive) -
parse
-
isValid
Description copied from interface:ParserChecks if the supplied text is valid or not. -
getErrorMessage
Description copied from interface:ParserA string with the error message if the parser fails to parse the supplied string.- Specified by:
getErrorMessagein interfaceParser<T>- Returns:
- An error message if the parse fails.
-
operators
Description copied from interface:ParserReturns the list of operators which can be used with this parser. -
getSymbol
Description copied from interface:ParserReturn the symbol related to an operator text which can be used with this parser.
-