BEA WebLogic Server Manuale Utente Pagina 68

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 88
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 67
B Logger Class Reference for BEA WebLogic Server
B-6 Internationalization Guide
* messageid: 600004
* severity: info
*/
public static String getId() {
Object [] args = { };
MessageLogger.log(
"600004",
args,
"examples.i18n.logging.I18nLogLogLocalizer");
return "600004";
}
public static Loggable getIdLoggable() throws MissingResourceException {
Object[] args = { };
return new Loggable("600004", args);
}
/**
* The previous message logged had message id {0}
* @exclude
*
* messageid: 600005
* severity: info
*/
public static String showId(String arg0) {
Object [] args = { arg0 };
MessageLogger.log(
"600005",
args,
"examples.i18n.logging.I18nLogLogLocalizer");
return "600005";
}
public static Loggable showIdLoggable(String arg0) throws
MissingResourceException {
Object[] args = { arg0 };
return new Loggable("600005", args);
}
}
Listing B-3 shows an example application that uses the i18nLog:
Listing B-3 Example of Application Using i18nLog
package examples.i18n.logging;
Vedere la pagina 67
1 2 ... 63 64 65 66 67 68 69 70 71 72 73 ... 87 88

Commenti su questo manuale

Nessun commento