Package org.pf.text

Text and String Utility Classes
Contains classes for string and string array manipulation as well as rule parsers and simple string pattern matching functionality.

See:
          Description

Interface Summary
MatchRuleVisitor Implementers of this interface can be used with MatchRule.apply() to navigate through the parsed rule tree and execute specific tasks on the elements.
StringFilter A simple interface for abstraction of string pattern matching
 

Class Summary
AStringFilter Subclasses of this abstract string filter class usually must override only method matches(String).
BaseMatchRuleParser Abstract superclass for parsers that produce a MatchRule from any specific syntax.
CommandLineArguments Utility class for easy evaluation of command line arguments.
DefaultMatchRuleParser This parser translates the match-rule syntax to a MatchRule object.
LdapFilterParser An instance of this class can be used to parse an LDAP filter string to a MatchRule.
LdapMatchRuleVisitor Walks over a MatchRule to create a LDAP filter string out of it.
MatchAttribute An instance of this class holds the name and the pattern values for one attribute.
MatchElement Implements all common state and behaviour of elements in a match rule.
MatchGroup Represents a group of MatchAttributes and/or MatchGroups
MatchRule The purpose of class MatchRule is to provide an easy-to-use component, that checks a dictionary (i.e.
MatchRuleChars Contains the set of special characters for MatchRules.
MatchRulePrinter Converts a MatchRule to a String using the default syntax.
ObjectIdGenerator Generates numeric IDs that are left padded with zeros.
ReverseComparator Provides a comparator implementation that is a wrapper around another comparator with the purpose to reverse the compare order of the given objects.
SqlMatchRuleVisitor Walks over a MatchRule to create a SQL WHERE clause out of it.
StringCollectionFilter This filter is based on a collection of strings.
StringExaminer As a subclass of StringScanner this class allows more advanced navigation over the underlying string.
StringPair A simple pair of strings.
StringPattern This class provides services for checking strings against string-patterns.
StringPatternCollection Holds a collection of StringPattern objects and allows to check if a given string matches any or none of the patterns.
StringScanner Simple scanner that allows to navigate over the characters of a string.
StringUtil The sole instance of this class provides several convenience methods for string manipulation such as substring replacement or character repetition.
Version This class provides a representation of version identifiers of pattern "x.y.z" in a way that they can be compared and sorted according to their real meaning and not just by simple string comparison.
 

Exception Summary
MatchRuleException The base exception of all exceptions that can occur with match rules.
MatchRuleParseException This exception is used for all parsing errors of MatchRule parser classes.
 

Package org.pf.text Description

Text and String Utility Classes


Contains classes for string and string array manipulation as well as rule parsers and simple string pattern matching functionality.