nl.siegmann.epublib.search.SearchResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of epublib-tools Show documentation
Show all versions of epublib-tools Show documentation
A java library for reading/writing/manipulating epub files
The newest version!
package nl.siegmann.epublib.search;
import nl.siegmann.epublib.domain.Resource;
public class SearchResult {
private int pagePos = -1;
private String searchTerm;
private Resource resource;
public SearchResult(int pagePos, String searchTerm, Resource resource) {
super();
this.pagePos = pagePos;
this.searchTerm = searchTerm;
this.resource = resource;
}
public int getPagePos() {
return pagePos;
}
public String getSearchTerm() {
return searchTerm;
}
public Resource getResource() {
return resource;
}
}