01: package org.apache.taglibs.standard.examples.i18n;
02:
03: import java.util.*;
04:
05: public class Resources extends ListResourceBundle {
06: private static Object[][] contents;
07:
08: static {
09: contents = new Object[][] {
10: { "greetingMorning", "Good Morning!" },
11: { "greetingEvening", "Good Evening!" },
12: {
13: "serverInfo",
14: "Name/Version of Servlet Container: {0}, "
15: + "Java Version: {1}" },
16: { "currentTime", "Current time: {0}" },
17: { "com.acme.labels.cancel", "Cancel" },
18: { "java.lang.ArithmeticException", "division by 0" } };
19: }
20:
21: public Object[][] getContents() {
22: return contents;
23: }
24: }
|