-
Notifications
You must be signed in to change notification settings - Fork 0
API
Keyhan Hadjari edited this page Sep 3, 2016
·
2 revisions
- ListResourceBundleList is a abstract subclass of ResourceBundleList. Its getContents() method must be implemented like following:
public class MyResources extends ListResourceBundle {
protected Object[][] getContents() {
return new Object[][] {
// LOCALIZE THIS
{"s1", "The disk \"{1}\" contains {0}."}, // MessageFormat pattern
.
.
.
};
}
}
public class MyResources_fr extends ListResourceBundle {
protected Object[][] getContents() {
return new Object[][] = {
// LOCALIZE THIS
{"s1", "Le disque \"{1}\" {0}."}, // MessageFormat pattern
.
.
.
};
}
}Calendar is an abstract class, its static getInstance(xxx) methods could be used to instantiate it.