Version 2.0.0: update sources
[jvcard.git] / src / be / nikiroo / jvcard / resources / TransBundle.java
diff --git a/src/be/nikiroo/jvcard/resources/TransBundle.java b/src/be/nikiroo/jvcard/resources/TransBundle.java
new file mode 100644 (file)
index 0000000..6a875ac
--- /dev/null
@@ -0,0 +1,31 @@
+package be.nikiroo.jvcard.resources;
+
+
+/**
+ * This class manages the translation of {@link TransBundle.StringId}s into
+ * user-understandable text.
+ * 
+ * @author niki
+ * 
+ */
+public class TransBundle extends
+               be.nikiroo.utils.resources.TransBundle<StringId> {
+
+       /**
+        * Create a translation service with the default language.
+        */
+       public TransBundle() {
+               super(StringId.class, Target.resources);
+       }
+
+       /**
+        * Create a translation service for the given language. (Will fall back to
+        * the default one i not found.)
+        * 
+        * @param language
+        *            the language to use
+        */
+       public TransBundle(String language) {
+               super(StringId.class, Target.resources, language);
+       }
+}