Package com.exasol.errorreporting
Class PlaceholderMatcher
- java.lang.Object
-
- com.exasol.errorreporting.PlaceholderMatcher
-
- All Implemented Interfaces:
Iterable<Placeholder>
public class PlaceholderMatcher extends Object implements Iterable<Placeholder>
An iterable for placeholder in a given text.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Iterable<Placeholder>findPlaceholders(String text)Find placeholders in a given string.Iterator<Placeholder>iterator()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
findPlaceholders
public static Iterable<Placeholder> findPlaceholders(String text)
Find placeholders in a given string.- Parameters:
text- string containing placeholders- Returns:
- iterable for placeholders
-
iterator
public Iterator<Placeholder> iterator()
- Specified by:
iteratorin interfaceIterable<Placeholder>
-
-