com.canoo.webtest.plugins.pdftest.htmlunit.pdfbox
Class PDFBoxPDFLink
java.lang.Object
com.canoo.webtest.plugins.pdftest.htmlunit.pdfbox.PDFBoxPDFLink
- All Implemented Interfaces:
- PDFLink
public class PDFBoxPDFLink
- extends Object
- implements PDFLink
Implementation of PDFLink based on
PDFBox.
- Author:
- Etienne Studer, Marc Guillemot
PDFBoxPDFLink
public PDFBoxPDFLink(String text,
String href,
int page)
getHref
public String getHref()
- Specified by:
getHref in interface PDFLink
getPage
public int getPage()
- Specified by:
getPage in interface PDFLink
getText
public String getText()
- Specified by:
getText in interface PDFLink
toString
public String toString()
- Returns information for debug purpose
- Overrides:
toString in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object