public class StringLoader
extends java.lang.Object
Strings resource from a text file.
The text file must contain one| Modifier and Type | Field and Description |
|---|---|
private java.io.BufferedReader |
in |
private java.lang.Integer |
langCode |
static java.lang.String |
resourceDirectory
The directory of language resource files, default:
/resources/lang/. |
| Constructor and Description |
|---|
StringLoader() |
StringLoader(java.lang.String iso639Code) |
| Modifier and Type | Method and Description |
|---|---|
Strings |
load() |
private java.io.BufferedReader in
private java.lang.Integer langCode
public static java.lang.String resourceDirectory
/resources/lang/.public StringLoader()
public StringLoader(java.lang.String iso639Code)
public Strings load() throws java.io.IOException
java.io.IOException