Package org.apache.oro.text
This package used to be the TextTools library and provides general
text processing support, including a glob regular expression class,
pattern caching and line-by-line processing classes.
-
Interface Summary Interface Description MatchAction The MatchAction interface provides the callback interface for actions bound to patterns inMatchActionProcessor
.PatternCache An interface defining the basic functions of a regular expression cache. -
Class Summary Class Description GenericPatternCache This is the base class for all cache implementations provided in the org.apache.oro.text package.GlobCompiler The GlobCompiler class will compile a glob expression into a Perl5Pattern that may be used to match patterns in conjunction with Perl5Matcher.MatchActionInfo This class is used to provide information regarding a match found by MatchActionProcessor to a MatchAction callback implementation.MatchActionProcessor The MatchActionProcessor class provides AWK-like line by line filtering of a text stream, pattern action pair association, and field splitting based on a registered separator.PatternCacheFIFO This class is a GenericPatternCache subclass implementing a FIFO (First In First Out) cache replacement policy.PatternCacheFIFO2 This class is a GenericPatternCache subclass implementing a second chance FIFO (First In First Out) cache replacement policy.PatternCacheLRU This class is a GenericPatternCache subclass implementing an LRU (Least Recently Used) cache replacement policy.PatternCacheRandom This class is a GenericPatternCache subclass implementing a random cache replacement policy. -
Exception Summary Exception Description MalformedCachePatternException An exception used to indicate errors in a regular expression fetched from a PatternCache.