New launcher class to start all 3 modes:
[jvcard.git] / src / be / nikiroo / jvcard / resources / Meta.java
CommitLineData
7da41ecd 1package be.nikiroo.jvcard.resources;
e7418457
NR
2
3import java.lang.annotation.ElementType;
4import java.lang.annotation.Retention;
5import java.lang.annotation.RetentionPolicy;
6import java.lang.annotation.Target;
7
8/**
9 * Annotation used to give some information about the translation keys, so the
10 * translation .properties file can be created programmatically.
11 *
12 * @author niki
13 *
14 */
15@Retention(RetentionPolicy.RUNTIME)
16@Target(ElementType.FIELD)
17public @interface Meta {
18 /**
19 * What kind of item this key represent (a Key, a Label text, a format to
20 * use for something else...).
21 *
22 * @return what it is
23 */
24 String what();
25
26 /**
27 * Where in the application will this key appear (in the action keys, in a
28 * menu, in a message...).
29 *
30 * @return where it is
31 */
32 String where();
33
34 /**
35 * What format should/must this key be in.
36 *
37 * @return the format it is in
38 */
39 String format();
40
41 /**
42 * Free info text to help translate.
43 *
44 * @return some info
45 */
46 String info();
47}