summaryrefslogtreecommitdiffstats
path: root/java/src/hdf
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-07-18 13:18:47 (GMT)
committerGitHub <noreply@github.com>2022-07-18 13:18:47 (GMT)
commit7f9a5f0b6e58e9c04a18ea83ff0400f95294c6ac (patch)
treea70ce4e47b6689ae6b9aa5d47c9e143347998a97 /java/src/hdf
parent0b337cb09384171e1e761cdeaa804b6c591a121a (diff)
downloadhdf5-7f9a5f0b6e58e9c04a18ea83ff0400f95294c6ac.zip
hdf5-7f9a5f0b6e58e9c04a18ea83ff0400f95294c6ac.tar.gz
hdf5-7f9a5f0b6e58e9c04a18ea83ff0400f95294c6ac.tar.bz2
1 12 Add utility JNI function for 1.10 style references (#1889)
* 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')
-rw-r--r--java/src/hdf/hdf5lib/H5.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/java/src/hdf/hdf5lib/H5.java b/java/src/hdf/hdf5lib/H5.java
index c2be6ca..25a1f8d 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.
*