[IOT-2221] Add OCResource.setHost API to Java API
authorGeorge Nash <george.nash@intel.com>
Mon, 8 May 2017 23:34:01 +0000 (16:34 -0700)
committerRick Bell <richard.s.bell@intel.com>
Wed, 10 May 2017 21:31:31 +0000 (21:31 +0000)
commit54ada23f91ca630b1d4fd1b9e0d896be267b8d02
tree4192fbffe1af96771707b9e05b8322327bd8c28e
parent026bed261031605bdff1d74eecf66008d5e9203e
[IOT-2221] Add OCResource.setHost API to Java API

In addition to adding the setHost method the documentation
for the findResource was updated to reflect the same
documentation change made to the C++ findResource code to
account for the getAllHosts/setHost methods.

Bug: https://jira.iotivity.org/browse/IOT-2221
Change-Id: Ib33c122bced1832b2298c4701d0406f83ba63aaa
Signed-off-by: George Nash <george.nash@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/19729
Reviewed-by: Larry Sachs <larry.j.sachs@intel.com>
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Rick Bell <richard.s.bell@intel.com>
java/common/src/main/java/org/iotivity/base/OcResource.java
java/iotivity-android/src/main/java/org/iotivity/base/OcPlatform.java
java/iotivity-linux/src/main/java/org/iotivity/base/OcPlatform.java
java/jni/JniOcResource.cpp
java/jni/JniOcResource.h