T - the generic type of the sourcepublic abstract class AbstractPdfSource<T> extends AbstractTaskSource<T> implements PdfSource<T>
| Constructor and Description |
|---|
AbstractPdfSource(String name)
Creates a source with the given name.
|
AbstractPdfSource(String name,
String password)
Creates a source with the given name and password.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
String |
getPassword() |
byte[] |
getPasswordBytes() |
void |
setPassword(String password)
Updates the password needed to open the source.
|
String |
toString() |
getEncryptionAtRestPolicy, getSeekableSource, setEncryptionAtRestPolicyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEncryptionAtRestPolicy, getSeekableSource, getSource, setEncryptionAtRestPolicypublic AbstractPdfSource(String name)
name - IllegalArgumentException - if the name is blankpublic AbstractPdfSource(String name, String password)
name - password - IllegalArgumentException - if the name is blankpublic String getPassword()
getPassword in interface PdfSource<T>public void setPassword(String password)
PdfSourcesetPassword in interface PdfSource<T>public byte[] getPasswordBytes()
public String getName()
getName in interface TaskSource<T>public String toString()
toString in class AbstractTaskSource<T>Copyright © 2021 sejda. All rights reserved.