| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| public String | sanitizeImageUrl(String url)
Implements jdk. Sanitize a url for use in the src attribute of a |
| public String | sanitizeLinkUrl(String url)
Implements jdk. Sanitize a url for use in the href attribute of a |
| private String |
| protocols | back to summary |
|---|---|
| private Set<String> protocols | |
| DefaultUrlSanitizer | back to summary |
|---|---|
| public DefaultUrlSanitizer() | |
| DefaultUrlSanitizer | back to summary |
|---|---|
| public DefaultUrlSanitizer(Collection<String> protocols) | |
| isHtmlSpace | back to summary |
|---|---|
| private boolean isHtmlSpace(int ch) | |
| sanitizeImageUrl | back to summary |
|---|---|
| public String sanitizeImageUrl(String url) Implements jdk. Doc from jdk. Sanitize a url for use in the src attribute of a
| |
| sanitizeLinkUrl | back to summary |
|---|---|
| public String sanitizeLinkUrl(String url) Implements jdk. Doc from jdk. Sanitize a url for use in the href attribute of a
| |
| stripHtmlSpaces | back to summary |
|---|---|
| private String stripHtmlSpaces(String s) | |