Top Fields Constructors Methods
org.kohsuke.args4j

pack-priv final Enum Messages

extends Enum<Messages>
implements Localizable
Class Inheritance
All Implemented Interfaces
org.kohsuke.args4j.Localizable
Imports
java.text.MessageFormat, java.util.Locale, .ResourceBundle

Author
Kohsuke Kawaguchi

Field Summary

Modifier and TypeField and Description
public static final Messages
public static final Messages
public static final Messages
public static final Messages
public static final Messages
public static final Messages
public static final Messages
public static final Messages
public static final Messages
public static final Messages
public static final Messages
public static final Messages
public static final Messages
public static final Messages
public static final Messages
public static final Messages

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public String
format(Object...
the arguments to use for formatting. See MessageFormat#format(java.lang.String, java.lang.Object...).
args
)

Implements org.kohsuke.args4j.Localizable.format.

Format the implicitly given message by this object with the default locale.

public String
formatWithLocale(Locale
the locale to use for formatting .
locale
,
Object...
the arguments to use for formatting. See MessageFormat#format(java.lang.String, java.lang.Object...).
args
)

Implements org.kohsuke.args4j.Localizable.formatWithLocale.

Format the implicitly given message by this object with the given locale.

public static Messages
public static Messages[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

DEFAULT_VALUEback to summary
public static final Messages DEFAULT_VALUE
FORBIDDEN_OPTION_PRESENTback to summary
public static final Messages FORBIDDEN_OPTION_PRESENT
METADATA_ERRORback to summary
public static final Messages METADATA_ERROR
MISSING_OPERANDback to summary
public static final Messages MISSING_OPERAND
MULTIPLE_USE_OF_ARGUMENTback to summary
public static final Messages MULTIPLE_USE_OF_ARGUMENT
MULTIPLE_USE_OF_OPTIONback to summary
public static final Messages MULTIPLE_USE_OF_OPTION
NO_ARGUMENT_ALLOWEDback to summary
public static final Messages NO_ARGUMENT_ALLOWED
NO_CONSTRUCTOR_ON_HANDLERback to summary
public static final Messages NO_CONSTRUCTOR_ON_HANDLER
NO_OPTIONHANDLERback to summary
public static final Messages NO_OPTIONHANDLER
NO_SUCH_FILEback to summary
public static final Messages NO_SUCH_FILE
REQUIRED_ARGUMENT_MISSINGback to summary
public static final Messages REQUIRED_ARGUMENT_MISSING
REQUIRED_OPTION_MISSINGback to summary
public static final Messages REQUIRED_OPTION_MISSING
REQUIRES_OPTION_MISSINGback to summary
public static final Messages REQUIRES_OPTION_MISSING
TOO_MANY_ARGUMENTSback to summary
public static final Messages TOO_MANY_ARGUMENTS
UNDEFINED_OPTIONback to summary
public static final Messages UNDEFINED_OPTION
UNKNOWN_HANDLERback to summary
public static final Messages UNKNOWN_HANDLER

Constructor Detail

Messagesback to summary
private Messages()

Method Detail

formatback to summary
public String format(Object... args)

Implements org.kohsuke.args4j.Localizable.format.

Doc from org.kohsuke.args4j.Localizable.format.

Format the implicitly given message by this object with the default locale.

Parameters
args:Object[]

the arguments to use for formatting. See MessageFormat#format(java.lang.String, java.lang.Object...).

Returns:String

the formatted string.

formatWithLocaleback to summary
public String formatWithLocale(Locale locale, Object... args)

Implements org.kohsuke.args4j.Localizable.formatWithLocale.

Doc from org.kohsuke.args4j.Localizable.formatWithLocale.

Format the implicitly given message by this object with the given locale.

Parameters
locale:Locale

the locale to use for formatting .

args:Object[]

the arguments to use for formatting. See MessageFormat#format(java.lang.String, java.lang.Object...).

Returns:String

the formatted string.

valueOfback to summary
public static Messages valueOf(String name)
valuesback to summary
public static Messages[] values()