Class Escapers


  • public class Escapers
    extends java.lang.Object
    Defines some standard Mustache.Escapers.
    • Constructor Summary

      Constructors 
      Constructor Description
      Escapers()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Mustache.Escaper simple​(java.lang.String[]... repls)
      Returns an escaper that replaces a list of text sequences with canned replacements.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Escapers

        public Escapers()
    • Method Detail

      • simple

        public static Mustache.Escaper simple​(java.lang.String[]... repls)
        Returns an escaper that replaces a list of text sequences with canned replacements.
        Parameters:
        repls - a list of (text, replacement) pairs.