| java.lang.Object |
| ↳ |
com.pdftron.pdf.Sanitizer |
Class Overview
The class Sanitizer.
static interface to Apryse SDKs document sanitization functionality
Summary
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
boolean
|
equals(Object arg0)
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
final
void
|
wait()
|
|
Public Methods
public
static
SanitizeOptions
getSanitizableContent
(Doc doc)
Retrieves the types of sanitizable content that are present within the
document.
Parameters
| doc |
The document to inspect for sanitizable content. |
Returns
- Returns the sanitization options with all sanitizable content present
within the document enabled.
public
static
void
sanitizeDocument
(Doc doc)
Performs document sanitization based on the specified sanitize
options. If no options are provided, all sanitizable content present
will be removed.
Parameters
| doc |
The document to sanitize. |
public
static
void
sanitizeDocument
(Doc doc, SanitizeOptions options)
Performs document sanitization based on the specified sanitize
options. If no options are provided, all sanitizable content present
will be removed.
Parameters
| doc |
The document to sanitize. |
| options |
Document sanitization options (optional). |