nl.siegmann.epublib.search.ResourceSearchIndex 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;
/**
* The search index for a single resource.
*
* @author paul.siegmann
*
*/
// package
class ResourceSearchIndex {
private String content;
private Resource resource;
public ResourceSearchIndex(Resource resource, String searchContent) {
this.resource = resource;
this.content = searchContent;
}
public String getContent() {
return content;
}
public Resource getResource() {
return resource;
}
}