APIdia Launch Partner
Top Description Fields Constructors Methods
sun.tools.serialver

pack-priv Class Res

Located in compilation unit of sun.tools.serialver.SerialVer.

extends Object
Class Inheritance

Utility for integrating with serialver and for localization. Handle Resources. Access to error and warning counts. Message formatting.
See Also
java.util.ResourceBundle, java.text.MessageFormat

Field Summary

Modifier and TypeField and Description
private static ResourceBundle

Constructor Summary

AccessConstructor and Description
pack-priv
Res()

Method Summary

Modifier and TypeMethod and Description
pack-priv static String
getText(String
selects message from resource
key
)

get and format message string from resource

pack-priv static String
getText(String
selects message from resource
key
,
String
first argument
a1
)

get and format message string from resource

pack-priv static String
getText(String
selects message from resource
key
,
String
first argument
a1
,
String
second argument
a2
)

get and format message string from resource

pack-priv static String
getText(String
selects message from resource
key
,
String
first argument
a1
,
String
second argument
a2
,
String
third argument
a3
)

get and format message string from resource

pack-priv static void
initResource()

Initialize ResourceBundle

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

messageRBback to summary
private static ResourceBundle messageRB

Constructor Detail

Resback to summary
pack-priv Res()

Method Detail

getTextback to summary
pack-priv static String getText(String key)

get and format message string from resource

Parameters
key:String

selects message from resource

getTextback to summary
pack-priv static String getText(String key, String a1)

get and format message string from resource

Parameters
key:String

selects message from resource

a1:String

first argument

getTextback to summary
pack-priv static String getText(String key, String a1, String a2)

get and format message string from resource

Parameters
key:String

selects message from resource

a1:String

first argument

a2:String

second argument

getTextback to summary
pack-priv static String getText(String key, String a1, String a2, String a3)

get and format message string from resource

Parameters
key:String

selects message from resource

a1:String

first argument

a2:String

second argument

a3:String

third argument

initResourceback to summary
pack-priv static void initResource()

Initialize ResourceBundle