Interface Mustache.Escaper

Enclosing class:
Mustache

public static interface Mustache.Escaper
Handles escaping characters in substituted text.
  • Method Summary

    Modifier and Type
    Method
    Description
    default CharSequence
    Returns raw with the appropriate characters replaced with escape sequences.
    Returns raw with the appropriate characters replaced with escape sequences.
  • Method Details

    • escape

      String escape(String raw)
      Returns raw with the appropriate characters replaced with escape sequences.
    • escape

      default CharSequence escape(CharSequence raw)
      Returns raw with the appropriate characters replaced with escape sequences.