Enum Main.OutputFormat

java.lang.Object
java.lang.Enum<Main.OutputFormat>
com.puppycrawl.tools.checkstyle.Main.OutputFormat
All Implemented Interfaces:
Serializable, Comparable<Main.OutputFormat>
Enclosing class:
Main

Enumeration over the possible output formats.
  • Enum Constant Details

  • Constructor Details

  • Method Details

    • values

      public static Main.OutputFormat[] 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 Main.OutputFormat 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
    • createListener

      Returns a new AuditListener for this OutputFormat.
      Parameters:
      out - the output stream
      options - the output stream options
      Returns:
      a new AuditListener for this OutputFormat
      Throws:
      IOException - if there is any IO exception during logger initialization
    • toString

      public String toString()
      Returns the name in lowercase.
      Overrides:
      toString in class Enum<Main.OutputFormat>
      Returns:
      the enum name in lowercase