@JsonData public abstract class PdfSource extends java.lang.Object implements java.lang.Comparable<PdfSource>, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
KEY_NAME
Pdf Name
|
protected static java.lang.String |
KEY_PASSWORD
Pdf Password
|
protected static java.lang.String |
KEY_PATH
Pdf Path
|
Constructor and Description |
---|
PdfSource() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLanguage()
Return the language for this document
|
abstract long |
getLastModified()
Returns the time of the last modification to the document.
|
protected java.util.Map<java.lang.String,java.lang.String> |
getMetaProperties()
Returns the meta properties map to store any additional information to.
|
java.lang.String |
getName()
Returns the name of the PDF document.
|
java.lang.String |
getPassword()
Returns the user password to decode the PDF source
|
java.lang.String |
getPath()
Get the path of this document, if one exist.
|
abstract long |
getSize()
Returns the size of the raw data in bytes
|
void |
setLanguage(java.lang.String language)
Set the language for this document
|
void |
setPageLimit(int pageLimited)
Set the maximal number of pages the document source will return
|
void |
setPassword(java.lang.String password)
Sets the user password to decode the PDF source
|
protected static final java.lang.String KEY_PASSWORD
protected static final java.lang.String KEY_NAME
protected static final java.lang.String KEY_PATH
public void setLanguage(java.lang.String language)
language
- the language for this documentpublic java.lang.String getLanguage()
public void setPageLimit(int pageLimited)
pageLimited
- the maximum number of pages to read, if >=0, there will be no limitpublic java.lang.String getName()
null
public java.lang.String getPath()
public abstract long getLastModified()
public abstract long getSize()
public java.lang.String getPassword()
null
for nonepublic void setPassword(java.lang.String password)
password
- the user password, may be null
for noneprotected java.util.Map<java.lang.String,java.lang.String> getMetaProperties()
null
Copyright © 2010-2022 by i-net software GmbH