Enum EncodingPatternConverter.EscapeFormat

java.lang.Object
java.lang.Enum<EncodingPatternConverter.EscapeFormat>
org.apache.logging.log4j.core.pattern.EncodingPatternConverter.EscapeFormat
All Implemented Interfaces:
Serializable, Comparable<EncodingPatternConverter.EscapeFormat>, java.lang.constant.Constable
Enclosing class:
EncodingPatternConverter

private static enum EncodingPatternConverter.EscapeFormat extends Enum<EncodingPatternConverter.EscapeFormat>
  • Enum Constant Details

  • Constructor Details

    • EscapeFormat

      private EscapeFormat()
  • Method Details

    • values

      public static EncodingPatternConverter.EscapeFormat[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static EncodingPatternConverter.EscapeFormat valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • escape

      abstract void escape(StringBuilder toAppendTo, int start)
      Escapes text using a standardized format from a given starting point to the end of the string.
      Parameters:
      toAppendTo - string buffer to escape
      start - where to start escaping from