diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2022-07-14 16:33:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-14 16:33:35 (GMT) |
commit | 6be07134deed251505a13265e36e1af5650f2eaa (patch) | |
tree | 4c31b88468f50ca91be02304aeb6801e02b1e745 /java/src/hdf/hdf5lib/H5.java | |
parent | c835d16a597982d72bc160a96f2218a20f9dd010 (diff) | |
download | hdf5-6be07134deed251505a13265e36e1af5650f2eaa.zip hdf5-6be07134deed251505a13265e36e1af5650f2eaa.tar.gz hdf5-6be07134deed251505a13265e36e1af5650f2eaa.tar.bz2 |
Add utility JNI function for 1.10 style references (#1888)
* Add utility JNI function for 1.10 style references
* Clarify text
* Correct signature
* Committing clang-format changes
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'java/src/hdf/hdf5lib/H5.java')
-rw-r--r-- | java/src/hdf/hdf5lib/H5.java | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/java/src/hdf/hdf5lib/H5.java b/java/src/hdf/hdf5lib/H5.java index 12e5f87..4aae921 100644 --- a/java/src/hdf/hdf5lib/H5.java +++ b/java/src/hdf/hdf5lib/H5.java @@ -11411,6 +11411,29 @@ public class H5 implements java.io.Serializable { throws HDF5LibraryException, NullPointerException, IllegalArgumentException; /** + * H5Rget_name_string retrieves a name for the object identified by ref. + * + * @param loc_id + * IN: Identifier for the dataset containing the reference or for the group that dataset is in. + * @param ref_type + * IN: Type of reference. + * @param ref + * IN: An object or dataset region reference. + * + * @return Returns the name if successful, returning null if no name is associated with + * the identifier. + * + * @exception HDF5LibraryException + * Error from the HDF-5 Library. + * @exception NullPointerException + * size is null. + * @exception IllegalArgumentException + * Argument is illegal. + **/ + public synchronized static native String H5Rget_name_string(long loc_id, int ref_type, byte[] ref) + throws HDF5LibraryException, NullPointerException, IllegalArgumentException; + + /** * H5Rget_obj_type Given a reference to an object ref, H5Rget_obj_type returns the type of the object * pointed to. * |