Version 2.0.0: update sources
[jvcard.git] / src / be / nikiroo / jvcard / resources / bundles / ColorBundle.java
diff --git a/src/be/nikiroo/jvcard/resources/bundles/ColorBundle.java b/src/be/nikiroo/jvcard/resources/bundles/ColorBundle.java
deleted file mode 100644 (file)
index 25accfe..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-package be.nikiroo.jvcard.resources.bundles;
-
-import java.io.IOException;
-import java.io.Writer;
-
-import be.nikiroo.jvcard.resources.Bundles;
-import be.nikiroo.jvcard.resources.Bundles.Bundle;
-import be.nikiroo.jvcard.resources.Bundles.Target;
-import be.nikiroo.jvcard.resources.enums.ColorOption;
-
-/**
- * All colour information must come from here.
- * 
- * @author niki
- * 
- */
-public class ColorBundle extends Bundle<ColorOption> {
-       public ColorBundle() {
-               new Bundles().super(ColorOption.class, Target.colors);
-       }
-
-       @Override
-       protected void writeHeader(Writer writer) throws IOException {
-               ColorOption.writeHeader(writer);
-       }
-
-       @Override
-       protected void writeValue(Writer writer, ColorOption id) throws IOException {
-               String name = id.name() + "_FG";
-               String value = "";
-               if (map.containsKey(name))
-                       value = map.getString(name).trim();
-
-               writeValue(writer, name, value);
-
-               name = id.name() + "_BG";
-               value = "";
-               if (map.containsKey(name))
-                       value = map.getString(name).trim();
-
-               writeValue(writer, name, value);
-       }
-}