public class HTMLUtils
extends java.lang.Object
| Constructor | Description |
|---|---|
HTMLUtils() |
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.List<Chunk> |
sanitize(java.lang.String str,
boolean preserveWhiteSpace) |
|
static java.util.List<Chunk> |
sanitizeInline(java.lang.String str,
boolean preserveWhiteSpace) |
Sanitize the String for use in in-line tags.
|
static java.util.List<Chunk> |
sanitizeInline(java.lang.String str,
boolean preserveWhiteSpace,
boolean replaceNonBreakableSpaces) |
public static java.util.List<Chunk> sanitize(java.lang.String str, boolean preserveWhiteSpace)
public static java.util.List<Chunk> sanitizeInline(java.lang.String str, boolean preserveWhiteSpace)
str - the string to sanitizepublic static java.util.List<Chunk> sanitizeInline(java.lang.String str, boolean preserveWhiteSpace, boolean replaceNonBreakableSpaces)
Copyright © 1998–2018. All rights reserved.