Uses of Interface
com.owenfeehan.pathpatternfinder.trim.TrimOperation
Package | Description |
---|---|
com.owenfeehan.pathpatternfinder.trim |
A trim-operation attempts to find one or more new
PatternElement s by fitting against a string or
a path. |
com.owenfeehan.pathpatternfinder.trim.constantsubstring |
All classes related to particular operation of
TrimConstantSubstring . |
-
Uses of TrimOperation in com.owenfeehan.pathpatternfinder.trim
Classes in com.owenfeehan.pathpatternfinder.trim that implement TrimOperation Modifier and Type Class Description class
TrimCommonPathRoot
Considers each element of a file-path (between directory separators) as an ordered list and finds a the maximally constant sublist from the left size.class
TrimConstantString
Looks for a constant common substring (from left-size, as maximal as possible).class
TrimInteger
Reads an integer from the left-side of the string (greedy, it grabs an integer of maximally possible length).class
TrimOperationOrList<T>
Tries to apply each operation in a list until one is successful.class
TrimSplitByChar
Attempts to split a string by finding a common special character in all strings.Constructor parameters in com.owenfeehan.pathpatternfinder.trim with type arguments of type TrimOperation Constructor Description TrimOperationOrList(List<TrimOperation<T>> operations)
Creates given a list of operations. -
Uses of TrimOperation in com.owenfeehan.pathpatternfinder.trim.constantsubstring
Classes in com.owenfeehan.pathpatternfinder.trim.constantsubstring that implement TrimOperation Modifier and Type Class Description class
TrimConstantSubstring
Attempts to split a string by finding an identical sub-string in all strings, so long as it is always located at the same index (relative to left).