Example usage for Java org.jsoup.safety Cleaner fields, constructors, methods, implement or subclass
The text is from its open source code.
Cleaner(Whitelist whitelist) Create a new cleaner, that sanitizes documents using the supplied whitelist. |
Document | clean(Document dirtyDocument) Creates a new, clean document, from the original dirty document, containing only elements allowed by the whitelist. |