These constants correspond to resource bundle keys that can be used to retrieve localized application messages.
Definition at line 31 of file GDSParserI18NFactory.java.
Public Member Functions | |
String | toString () |
Returns a string representation of this class. | |
Static Public Member Functions | |
static String | getString (String key) |
Returns the internationalized string for a given key. | |
static String | sprintf (String format, Object...args) |
A sprintf method implementation. | |
Static Public Attributes | |
static final String | i18n_APP_COPY = "I18N_APP_COPY" |
Internationalized APP_COPY message. | |
static final String | i18n_APP_TITLE = "I18N_APP_TITLE" |
Internationalized APP_TITLE message. | |
static final String | i18n_APP_VERSION = "I18N_APP_VERSION" |
Internationalized APP_VERSION message. | |
static final String | i18n_ERROR = "I18N_ERROR" |
Internationalized ERROR message. | |
static final String | i18n_ERROR_TITLE = "I18N_ERROR_TITLE" |
Internationalized ERROR_TITLE message. | |
static final String | i18n_INFO = "I18N_INFO" |
Internationalized INFO message. | |
static final String | i18n_INFO_DONE = "I18N_INFO_DONE" |
Internationalized INFO_DONE message. | |
static final String | i18n_INFO_GDS_SET_TO |
Internationalized INFO_GDS_SET_TO message. | |
static final String | i18n_INFO_LOG_SET_TO |
Internationalized INFO_LOG_SET_TO message. | |
static final String | i18n_USAGE_START = "I18N_USAGE_START" |
Internationalized USAGE_START message. | |
Static Protected Attributes | |
static final String | res |
The resource bundle path. |
|
Returns the internationalized string for a given key.
Definition at line 75 of file GDSParserI18NFactory.java. References GDSParserI18NFactory.res. Referenced by GDSParserView.GDSParserView(), GDSParserController.processEvent(), and GDSParserController.startController(). 00075 { 00076 return ResourceBundle.getBundle(res).getString(key); 00077 }
|
|
A
Definition at line 87 of file GDSParserI18NFactory.java. 00087 { 00088 StringWriter s = new StringWriter(format.length() * 2); 00089 PrintWriter p = new PrintWriter(s); 00090 p.printf(format, args); 00091 p.flush(); 00092 String result = s.toString(); 00093 p.close(); 00094 try { 00095 s.close(); 00096 } catch(IOException e) { 00097 /* Can't do anything now */ 00098 } 00099 00100 return result; 00101 }
|
|
Returns a string representation of this class.
Definition at line 108 of file GDSParserI18NFactory.java. 00108 {return super.toString();}
|
|
Internationalized APP_COPY message.
Definition at line 60 of file GDSParserI18NFactory.java. |
|
Internationalized APP_TITLE message.
Definition at line 63 of file GDSParserI18NFactory.java. Referenced by GDSParserView.GDSParserView(). |
|
Internationalized APP_VERSION message.
Definition at line 57 of file GDSParserI18NFactory.java. |
|
Internationalized ERROR message.
Definition at line 40 of file GDSParserI18NFactory.java. Referenced by GDSParserController.processEvent(). |
|
Internationalized ERROR_TITLE message.
Definition at line 66 of file GDSParserI18NFactory.java. |
|
Internationalized INFO message.
Definition at line 37 of file GDSParserI18NFactory.java. Referenced by GDSParserController.processEvent(). |
|
Internationalized INFO_DONE message.
Definition at line 51 of file GDSParserI18NFactory.java. |
|
Initial value:
"I18N_INFO_GDS_SET_TO"
Definition at line 47 of file GDSParserI18NFactory.java. Referenced by GDSParserController.startController(). |
|
Initial value:
"I18N_INFO_LOG_SET_TO"
Definition at line 43 of file GDSParserI18NFactory.java. Referenced by GDSParserController.startController(). |
|
Internationalized USAGE_START message.
Definition at line 54 of file GDSParserI18NFactory.java. |
|
Initial value:
"com/ohrasys/app/gdsparser/GDSParserProperties"
Definition at line 33 of file GDSParserI18NFactory.java. Referenced by GDSParserI18NFactory.getString(). |