public class Localization extends Object
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
$LastChangedDate: 2015-07-26 01:01:13 +0200 (Sun, 26 Jul 2015) $, @version $Revision: 1155 $, by $Author: averbraeck $,
initial version Jun 12, 2014
| Constructor and Description |
|---|
Localization(String prefix)
Create a Localization object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getString(String key)
Retrieve a string from a locale bundle.
|
public Localization(String prefix)
prefix - String; the prefix of the properties files to use.public final String getString(String key)
key - the key for the locale in the properties fileCopyright © 2014–2015 Delft University of Technology. All rights reserved.