Package pp.battleship
Klasse Resources
java.lang.Object
pp.battleship.Resources
Provides access to the resource bundle of the game.
- Siehe auch:
-
Feldübersicht
Modifizierer und TypFeldBeschreibungstatic final ResourceBundle
The resource bundle for the Battleship game. -
Methodenübersicht
-
Felddetails
-
BUNDLE
The resource bundle for the Battleship game.
-
-
Methodendetails
-
lookup
Gets a string for the given key from the resource bundle in BUNDLE.- Parameter:
key
- the key for the desired string- Gibt zurück:
- the string for the given key
- Löst aus:
NullPointerException
- ifkey
isnull
MissingResourceException
- if no object for the given key can be foundClassCastException
- if the object found for the given key is not a string
-