Package org.apache.rat.commandline
Enum StyleSheets
- All Implemented Interfaces:
Serializable
,Comparable<StyleSheets>
The enumeration of system defined stylesheets.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe missing header report style sheetThe plain style sheet.The unapproved licenses reportThe plain style sheet. -
Method Summary
Modifier and TypeMethodDescriptionarg()
Gets the name of the xslt file.desc()
Gets the description of the xslt file.org.apache.commons.io.function.IOSupplier
<InputStream> Gets the IOSupplier for a style sheet.static org.apache.commons.io.function.IOSupplier
<InputStream> getStyleSheet
(String name) Gets the IOSupplier for a style sheet.static StyleSheets
Returns the enum constant of this type with the specified name.static StyleSheets[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PLAIN
The plain style sheet. The current default. -
MISSING_HEADERS
The missing header report style sheet -
UNAPPROVED_LICENSES
The unapproved licenses report -
XML
The plain style sheet. The current default.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getStyleSheet
Gets the IOSupplier for a style sheet.- Returns:
- an IOSupplier for the sheet.
-
getStyleSheet
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
Gets the name of the xslt file.- Returns:
- the name of the xslt file, without the extension.
-
desc
Gets the description of the xslt file.- Returns:
- the description of the xslt file.
-