source: java/UTF8ResourceBundleLoader/src/net/oni2/resourcebundle/UTF8ResourceBundleLoader.java@ 1085

Last change on this file since 1085 was 842, checked in by alloc, 12 years ago

java: UTF8ResourceBundleLoader: Initial import.

File size: 425 bytes
Line 
1package net.oni2.resourcebundle;
2
3import java.util.ResourceBundle;
4
5/**
6 * @author Christian Illy
7 */
8public 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.