public class SearchResults
extends java.lang.Object
SearchResult
Constructor and Description |
---|
SearchResults() |
Modifier and Type | Method and Description |
---|---|
void |
add(SearchResult currentResult)
This method does what the name suggests.
|
int |
getFirstErrorPageNumber()
If an error had been detected before, this method returns the
number of the PDF page, which produces the error.
|
java.lang.String |
getFirstErrorSearchToken()
If an error had been detected before, this method returns the
token, which belongs to the error.
|
boolean |
matchesAll()
This method returns true when all search results
matches on every page.
|
boolean |
matchesOne()
This method returns true when a search results
can be found that matches on any page.
|
public void add(SearchResult currentResult)
public boolean matchesOne()
public boolean matchesAll()
public int getFirstErrorPageNumber()
public java.lang.String getFirstErrorSearchToken()
Copyright (C) PDFUnit.com. See here for license.