Enum StyleSheets

java.lang.Object
java.lang.Enum<StyleSheets>
org.apache.rat.commandline.StyleSheets
All Implemented Interfaces:
Serializable, Comparable<StyleSheets>

public enum StyleSheets extends Enum<StyleSheets>
The enumeration of system defined stylesheets.
  • Enum Constant Details Link icon

    • PLAIN Link icon

      public static final StyleSheets PLAIN
      The plain style sheet. The current default.
    • MISSING_HEADERS Link icon

      public static final StyleSheets MISSING_HEADERS
      The missing header report style sheet
    • UNAPPROVED_LICENSES Link icon

      public static final StyleSheets UNAPPROVED_LICENSES
      The unapproved licenses report
    • XML Link icon

      public static final StyleSheets XML
      The plain style sheet. The current default.
  • Method Details Link icon

    • values Link icon

      public static StyleSheets[] 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 Link icon

      public static StyleSheets 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
    • getStyleSheet Link icon

      public org.apache.commons.io.function.IOSupplier<InputStream> getStyleSheet()
      Gets the IOSupplier for a style sheet.
      Returns:
      an IOSupplier for the sheet.
    • getStyleSheet Link icon

      public static org.apache.commons.io.function.IOSupplier<InputStream> getStyleSheet(String name)
      Gets the IOSupplier for a style sheet.
      Parameters:
      name - the short name for or the path to a style sheet.
      Returns:
      the IOSupplier for the style sheet.
    • arg Link icon

      public String arg()
      Gets the name of the xslt file.
      Returns:
      the name of the xslt file, without the extension.
    • desc Link icon

      public String desc()
      Gets the description of the xslt file.
      Returns:
      the description of the xslt file.