JavaScript is disabled on your browser.
Enum Constant Summary
Enum Constants
Field Summary
Fields
String used to denote assets in the formatted message
Constructor Summary
Constructors
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
Returns a formatted view of the specified archive
private int
Returns the number of assets on an
Archive
.
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in
the order they are declared.
Field Details
ASSETS
private static final String ASSETS
String used to denote assets in the formatted message
See Also:
Constructor Details
SimpleFormatter
private SimpleFormatter ()
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 name
NullPointerException
- if the argument is null
getNumAssets
private int getNumAssets (Archive <?> archive)
Returns the number of assets on an
Archive
.
Parameters:
archive
- the Archive from which we are goint to obtain the number of assets.
Returns:
the number of assets inside the archive