Version 2.0.0: update sources
[jvcard.git] / src / be / nikiroo / jvcard / resources / RemotingOption.java
similarity index 53%
rename from src/be/nikiroo/jvcard/resources/enums/RemotingOption.java
rename to src/be/nikiroo/jvcard/resources/RemotingOption.java
index f0b274b1984a26d1e810286e68ad1b2c49988d27..b2814829b00140c8bd738789222564c927562d8a 100644 (file)
@@ -1,18 +1,18 @@
-package be.nikiroo.jvcard.resources.enums;
+package be.nikiroo.jvcard.resources;
 
 import java.io.IOException;
 import java.io.Writer;
 
-import be.nikiroo.jvcard.resources.Meta;
-import be.nikiroo.jvcard.resources.Bundles.Bundle;
+import be.nikiroo.utils.resources.Meta;
+import be.nikiroo.utils.resources.Meta.Format;
 
 public enum RemotingOption {
-       @Meta(what = "", where = "Server", format = "directory", info = "when starting as a jVCard remote server, where to look for data")
+       @Meta(format = Format.DIRECTORY, description = "when starting as a jVCard remote server, where to look for data")
        SERVER_DATA_PATH, //
 
-       @Meta(what = "", where = "Client", format = "directory", info = "when loading \"jvcard://\" links, where to save cache files")
+       @Meta(format = Format.DIRECTORY, description = "when loading \"jvcard://\" links, where to save cache files")
        CLIENT_CACHE_DIR, //
-       @Meta(what = "", where = "Client", format = "TRUE or FALSE", info = "Automatically synchronise remote cards")
+       @Meta(format = Format.BOOLEAN, description = "Automatically synchronise remote cards")
        CLIENT_AUTO_SYNC, //
 
        ;