public class Txt extends Object
Constructor and Description |
---|
Txt() |
Modifier and Type | Method and Description |
---|---|
static String[] |
getStrings(String[] keys)
Retrieve a group of strings at once.
|
static void |
push(String name)
Add a bundle to the text retriever.
|
static String |
t(String key)
The main method: retrieve the text for a given key
|
static String |
t(String key,
String... params)
Retrieve the text for a given key, and replace marks by the provided parameters.
|
public static String t(String key)
key
- public static String t(String key, String... params)
key
- params
- public static String[] getStrings(String[] keys)
keys
- public static void push(String name)
name
- Copyright © 2005–2020. All rights reserved.