public class Escapers extends Object
Mustache.Escaper
s.Modifier and Type | Field and Description |
---|---|
static Mustache.Escaper |
HTML
Escapes HTML entities.
|
static Mustache.Escaper |
NONE
An escaper that does no escaping.
|
Constructor and Description |
---|
Escapers() |
Modifier and Type | Method and Description |
---|---|
static Mustache.Escaper |
simple(String[]... repls)
Returns an escaper that replaces a list of text sequences with canned replacements.
|
public static final Mustache.Escaper HTML
public static final Mustache.Escaper NONE
public static Mustache.Escaper simple(String[]... repls)
repls
- a list of (text, replacement)
pairs.Copyright © 2016. All rights reserved.