|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.qoppa.pdf.PDFPassword
public class PDFPassword
Implementation of the IPassword interface that can hold either a single password or a list of passwords. In most cases, the host application should use this class to provide passwords to the library when opening encrypted documents.
| Constructor Summary | |
|---|---|
PDFPassword(String password)
Create an instance of the class that will hold a single fixed password. |
|
PDFPassword(String[] pwdList)
Create an instance of the class that will hold a list of possible passwords. |
|
| Method Summary | |
|---|---|
String[] |
getPasswords()
Method that fulfills the IPassword interface. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PDFPassword(String password)
password - The password to use when opening encrypted documents.public PDFPassword(String[] pwdList)
pwdList - The list of possible passwords.| Method Detail |
|---|
public String[] getPasswords()
getPasswords in interface IPassword
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||