|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjgnash.ui.util.TextResource
public class TextResource
This class is for returning URL's to localized text files.
| Field Summary | |
|---|---|
private static java.lang.String |
ROOTPATH
|
| Constructor Summary | |
|---|---|
private |
TextResource()
Contains only static methods |
| Method Summary | |
|---|---|
private static java.io.InputStream |
getInputStream(java.lang.String fileName)
Find a locale specific text file given the file name. |
static java.lang.String |
getString(java.lang.String fileName)
Find a locale specific text file given the file name. |
private static java.lang.String |
loadConvert(java.lang.String theString)
Converts encoded \uxxxx to unicode chars and changes special saved chars to their original forms This was copied from the JDK source code; Properties.java |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final java.lang.String ROOTPATH
| Constructor Detail |
|---|
private TextResource()
| Method Detail |
|---|
private static java.io.InputStream getInputStream(java.lang.String fileName)
fileName - the file name of the text file to look for.
public static java.lang.String getString(java.lang.String fileName)
fileName - the file name of the text file to look for.
private static java.lang.String loadConvert(java.lang.String theString)
theString - unicode formatted string
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||