public class PolicyHandler extends Object
Constructor and Description |
---|
PolicyHandler(InputStream policyStream)
Creates a
PolicyHandler from an InputStream . |
Modifier and Type | Method and Description |
---|---|
org.owasp.validator.html.AntiSamy |
getAntiSamy() |
org.owasp.validator.html.Policy |
getPolicy() |
public PolicyHandler(InputStream policyStream) throws Exception
PolicyHandler
from an InputStream
.policyStream
- the InputStream from which to read this handler's Policy
Exception
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.