public interface Matches
extends java.lang.Iterable<java.lang.String>
MatchesIterator for a particular field, call getMatches(String).
Note that you can call getMatches(String) multiple times to retrieve new
iterators, but it is not thread-safe.| Modifier and Type | Method and Description |
|---|---|
MatchesIterator |
getMatches(java.lang.String field)
Returns a
MatchesIterator over the matches for a single field,
or null if there are no matches in that field. |
java.util.Collection<Matches> |
getSubMatches()
Returns a collection of Matches that make up this instance; if it is not
a composite, then this returns an empty list
|
MatchesIterator getMatches(java.lang.String field) throws java.io.IOException
MatchesIterator over the matches for a single field,
or null if there are no matches in that field.java.io.IOExceptionjava.util.Collection<Matches> getSubMatches()