org.foray.pdf.object
Class PDFUri
java.lang.Object
org.foray.pdf.object.PDFObject
org.foray.pdf.object.PDFAction
org.foray.pdf.object.PDFUri
public class PDFUri
- extends PDFAction
A PDF Uri link.
Constructor Summary |
PDFUri(String uri)
Create a Uri instance. |
Method Summary |
String |
getAction()
Returns the action necessary for a uri. |
String |
toPDF()
There is nothing to return for the toPDF method, as it should not be
called. |
Methods inherited from class org.foray.pdf.object.PDFObject |
bufferToByteArray, byteArrayToStream, getCharsPerLine, getGeneration, getLogger, getNumber, getPDFDocument, output, pdfID, pdfReference, setNumber, stringToByteArray |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PDFUri
public PDFUri(String uri)
- Create a Uri instance.
- Parameters:
uri
- The uri to which the link should point.
getAction
public String getAction()
- Returns the action necessary for a uri.
- Specified by:
getAction
in class PDFAction
- Returns:
- the action to place next to /A within a Link
toPDF
public String toPDF()
- There is nothing to return for the toPDF method, as it should not be
called.
- Returns:
- an empty string
Copyright © 2017. All rights reserved.