Uses of Interface
com.owenfeehan.pathpatternfinder.trim.TrimOperation
| Package | Description |
|---|---|
| com.owenfeehan.pathpatternfinder.trim |
A trim-operation attempts to find one or more new
PatternElements 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 classTrimCommonPathRootConsiders each element of a file-path (between directory separators) as an ordered list and finds a the maximally constant sublist from the left size.classTrimConstantStringLooks for a constant common substring (from left-size, as maximal as possible).classTrimIntegerReads an integer from the left-side of the string (greedy, it grabs an integer of maximally possible length).classTrimOperationOrList<T>Tries to apply each operation in a list until one is successful.classTrimSplitByCharAttempts 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 classTrimConstantSubstringAttempts 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).