|
Last change
on this file since 910 was
771,
checked in by djay, 10 years ago
|
|
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
|
-
Property svn:keywords set to
Id
|
|
File size:
366 bytes
|
| Line | |
|---|
| 1 | package org.zoo_project; |
|---|
| 2 | |
|---|
| 3 | import java.lang.*; |
|---|
| 4 | import java.util.*; |
|---|
| 5 | |
|---|
| 6 | public class ZOO { |
|---|
| 7 | static { System.loadLibrary("ZOO"); } |
|---|
| 8 | public static Integer SERVICE_SUCCEEDED=3; |
|---|
| 9 | public static Integer SERVICE_FAILED=4; |
|---|
| 10 | public static native String translate(String a); |
|---|
| 11 | public static native Integer updateStatus(HashMap conf,String pourcent,String message); |
|---|
| 12 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.