|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pdfbox.pdmodel.interactive.digitalsignature.SignatureOptions
public class SignatureOptions
Constructor Summary | |
---|---|
SignatureOptions()
|
Method Summary | |
---|---|
int |
getPage()
Get the page number. |
int |
getPreferedSignatureSize()
Get the preferred size of the signature. |
COSDocument |
getVisualSignature()
Get the visual signature. |
void |
setPage(int pageNo)
Set the page number. |
void |
setPreferedSignatureSize(int size)
Set the preferred size of the signature. |
void |
setVisualSignature(java.io.InputStream is)
Reads the visual signature from the given input stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SignatureOptions()
Method Detail |
---|
public void setPage(int pageNo)
pageNo
- the page numberpublic int getPage()
public void setVisualSignature(java.io.InputStream is) throws java.io.IOException
is
- the input stream containing the visual signature
java.io.IOException
- when something went wrong during parsingpublic COSDocument getVisualSignature()
public int getPreferedSignatureSize()
public void setPreferedSignatureSize(int size)
size
- the size of the signature
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |