Changeset 771 for trunk/zoo-project/zoo-services
- Timestamp:
- Jun 10, 2016, 1:40:44 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-services/hello-java/HelloJava.java
r537 r771 25 25 import java.lang.*; 26 26 import java.util.*; 27 import org.zoo_project.*; 27 28 28 29 public class HelloJava { … … 31 32 String v=tmp.get("value").toString(); 32 33 HashMap hm1 = (HashMap)(outputs.get("Result")); 33 hm1.put("value",ZOO. _("Hello "+v+" from JAVA World !!"));34 hm1.put("value",ZOO.translate("Hello "+v+" from JAVA World !!")); 34 35 return ZOO.SERVICE_SUCCEEDED; 35 36 } … … 47 48 } 48 49 HashMap hm1 = (HashMap)(outputs.get("Result")); 49 hm1.put("value",ZOO. _("Hello "+v+" from JAVA World !!"));50 hm1.put("value",ZOO.translate("Hello "+v+" from JAVA World !!")); 50 51 return ZOO.SERVICE_SUCCEEDED; 51 52 }
Note: See TracChangeset
for help on using the changeset viewer.