diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2022-07-18 13:19:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-18 13:19:13 (GMT) |
commit | 2c966f1e55da4223c0a1fa08733400851e27bd70 (patch) | |
tree | 0d4e518e3a591e6552c5f4d74645e7286dc517e2 /java/src/hdf | |
parent | f199c866dd3118f38904cb1935197438e662181c (diff) | |
download | hdf5-2c966f1e55da4223c0a1fa08733400851e27bd70.zip hdf5-2c966f1e55da4223c0a1fa08733400851e27bd70.tar.gz hdf5-2c966f1e55da4223c0a1fa08733400851e27bd70.tar.bz2 |
1 10 Add utility JNI function for 1.10 style references (#1890)
* 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.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 e96cf06..b4623c6 100644 --- a/java/src/hdf/hdf5lib/H5.java +++ b/java/src/hdf/hdf5lib/H5.java @@ -10890,6 +10890,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. * |