Last change
on this file since 978 was 842, checked in by alloc, 12 years ago |
java: UTF8ResourceBundleLoader: Initial import.
|
File size:
425 bytes
|
Rev | Line | |
---|
[842] | 1 | package net.oni2.resourcebundle;
|
---|
| 2 |
|
---|
| 3 | import java.util.ResourceBundle;
|
---|
| 4 |
|
---|
| 5 | /**
|
---|
| 6 | * @author Christian Illy
|
---|
| 7 | */
|
---|
| 8 | public class UTF8ResourceBundleLoader {
|
---|
| 9 |
|
---|
| 10 | private static ResourceBundleControl control = new ResourceBundleControl();
|
---|
| 11 |
|
---|
| 12 | /**
|
---|
| 13 | * @param name
|
---|
| 14 | * Name of properties file
|
---|
| 15 | * @return Resource bundle
|
---|
| 16 | */
|
---|
| 17 | public static ResourceBundle getBundle(String name) {
|
---|
| 18 | return ResourceBundle.getBundle(name, control);
|
---|
| 19 | }
|
---|
| 20 |
|
---|
| 21 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.