diff options
Diffstat (limited to 'examples/Translate.java')
-rw-r--r-- | examples/Translate.java | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/examples/Translate.java b/examples/Translate.java index dee8210..738443c 100644 --- a/examples/Translate.java +++ b/examples/Translate.java @@ -1,3 +1,11 @@ +/** + * Translate, an Ivy java program sample. + * + * @author Yannick Jestin <jestin@cena.fr> + * + * (c) CENA + * + */ import fr.dgac.ivy.* ; import java.io.* ; import gnu.regexp.* ; @@ -52,12 +60,9 @@ class Translate { } } - // callback associated to the "Hello" messages" public void receive(IvyClient client, String[] args) { bus.sendMsg("Bonjour"+((args.length>0)?args[0]:"")); } - public static void main(String args[]) { - new Translate("translation.txt"); - } + public static void main(String args[]) { new Translate("translation.txt"); } } |