public class SearchStringParser extends Object
Constructor and Description |
---|
SearchStringParser(String searchString,
Map<String,ResultSetColumn> availableColumns)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getSimpleString() |
boolean |
isSimpleString()
Checks if the search string is just a simple string and does not define one or more
column/value pairs.
|
Map<String,String> |
parse()
Parses the string.
|
public SearchStringParser(String searchString, Map<String,ResultSetColumn> availableColumns)
searchString
- string to parseavailableColumns
- map with all available columns and their labelspublic boolean isSimpleString()
public String getSimpleString() throws SearchSyntaxException
SearchSyntaxException
- when the string is too shortpublic Map<String,String> parse() throws SearchSyntaxException
SearchSyntaxException
- on syntax errorCopyright © 2021 Hyland Software Germany GmbH. All rights reserved.