implement ResourceBundle.getKeys

This commit is contained in:
Joel Dice 2008-11-03 15:18:44 -07:00
parent 6f1d02dae7
commit 63c78d9d84
2 changed files with 6 additions and 0 deletions

View File

@ -23,4 +23,8 @@ public class PropertyResourceBundle extends ResourceBundle {
public Object handleGetObject(String key) { public Object handleGetObject(String key) {
return map.get(key); return map.get(key);
} }
public Enumeration<String> getKeys() {
return map.keys();
}
} }

View File

@ -118,4 +118,6 @@ public abstract class ResourceBundle {
} }
protected abstract Object handleGetObject(String key); protected abstract Object handleGetObject(String key);
public abstract Enumeration<String> getKeys();
} }