BEA WebLogic Server Manuel d'utilisateur Page 68

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 88
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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;
Vue de la page 67
1 2 ... 63 64 65 66 67 68 69 70 71 72 73 ... 87 88

Commentaires sur ces manuels

Pas de commentaire