Ignore:
Timestamp:
Jun 10, 2016, 1:40:44 AM (9 years ago)
Author:
djay
Message:

Remove the default java.library.path definition and use an optional [java] section instead (where the key java.library.path, amongst other, may be defined). Change _ function name to translate in the Java ZOO-API. Use a ogr.zoo_project package containing the ZOO class. Fix the hello-java service and update doc consequently

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-services/hello-java/HelloJava.java

    r537 r771  
    2525import java.lang.*;
    2626import java.util.*;
     27import org.zoo_project.*;
    2728
    2829public class HelloJava {
     
    3132        String v=tmp.get("value").toString();
    3233        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 !!"));
    3435        return ZOO.SERVICE_SUCCEEDED;
    3536    }
     
    4748        }
    4849        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 !!"));
    5051        return ZOO.SERVICE_SUCCEEDED;
    5152    }
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png