mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
17 lines
359 B
Java
17 lines
359 B
Java
package java.util;
|
|
|
|
import java.io.InputStream;
|
|
import java.io.IOException;
|
|
|
|
public class PropertyResourceBundle extends ResourceBundle {
|
|
private final Properties map = new Properties();
|
|
|
|
public PropertyResourceBundle(InputStream in) throws IOException {
|
|
map.load(in);
|
|
}
|
|
|
|
public Object handleGetObject(String key) {
|
|
return map.get(key);
|
|
}
|
|
}
|