Logo Search packages:      
Sourcecode: jhdf version File versions  Download package

ncsa::hdf::hdf5lib::H5 Class Reference

List of all members.


Detailed Description

This class is the Java interface for the HDF5 library.

This code is the called by Java programs to access the entry points of the HDF5 1.2 library. Each routine wraps a single HDF5 entry point, generally with the arguments and return codes analogous to the C interface.

For details of the HDF5 library, see the HDF5 Documentation at: http://hdf.ncsa.uiuc.edu/HDF5/


Mapping of arguments for Java

In general, arguments to the HDF Java API are straightforward translations from the 'C' API described in the HDF Reference Manual.

HDF-5 C types to Java types
HDF-5 Java
H5T_NATIVE_INT int, Integer
H5T_NATIVE_SHORT short, Short
H5T_NATIVE_FLOAT float, Float
H5T_NATIVE_DOUBLE double, Double
H5T_NATIVE_CHAR byte, Byte
H5T_C_S1 java.lang.String
void *
(i.e., pointer to `Any')
Special -- see HDFArray

General Rules for Passing Arguments and Results

In general, arguments passed IN to Java are the analogous basic types, as above. The exception is for arrays, which are discussed below.

The return value of Java methods is also the analogous type, as above. A major exception to that rule is that all HDF functions that return SUCCEED/FAIL are declared boolean in the Java version, rather than int as in the C. Functions that return a value or else FAIL are declared the equivalent to the C function. However, in most cases the Java method will raise an exception instead of returning an error code. See Errors and Exceptions below.

Java does not support pass by reference of arguments, so arguments that are returned through OUT parameters must be wrapped in an object or array. The Java API for HDF consistently wraps arguments in arrays.

For instance, a function that returns two integers is declared:

       h_err_t HDF5dummy( int *a1, int *a2)
  
For the Java interface, this would be declared:

       public synchronized static native int HDF5dummy( int args[] );
  
where a1 is args[0] and a2 is args[1], and would be invoked:

       H5.HDF5dummy( a );
  

All the routines where this convention is used will have specific documentation of the details, given below.

Arrays

HDF5 needs to read and write multi-dimensional arrays of any number type (and records). The HDF5 API describes the layout of the source and destination, and the data for the array passed as a block of bytes, for instance,

      herr_t H5Dread(int fid, int filetype, int memtype, int memspace,
      void * data);
  

where ``void *'' means that the data may be any valid numeric type, and is a contiguous block of bytes that is the data for a multi-dimensional array. The other parameters describe the dimensions, rank, and datatype of the array on disk (source) and in memory (destination).

For Java, this ``ANY'' is a problem, as the type of data must always be declared. Furthermore, multidimensional arrays are definitely not layed out contiguously in memory. It would be infeasible to declare a separate routine for every combination of number type and dimensionality. For that reason, the <a href="./ncsa.hdf.hdf5lib.HDFArray.html>HDFArray class is used to discover the type, shape, and size of the data array at run time, and to convert to and from a contiguous array of bytes in synchronized static native C order.

The upshot is that any Java array of numbers (either primitive or sub-classes of type Number) can be passed as an ``Object'', and the Java API will translate to and from the appropriate packed array of bytes needed by the C library. So the function above would be declared:

      public synchronized static native int H5Dread(int fid, int filetype,
          int memtype, int memspace, Object data);
  
and the parameter data can be any multi-dimensional array of numbers, such as float[][], or int[][][], or Double[][].

HDF-5 Constants

The HDF-5 API defines a set of constants and enumerated values. Most of these values are available to Java programs via the class HDF5Constants. For example, the parameters for the h5open() call include two numeric values, HDFConstants.H5F_ACC_RDWR and HDF5Constants.H5P_DEFAULT. As would be expected, these numbers correspond to the C constants H5F_ACC_RDWR and H5P_DEFAULT.

The HDF-5 API defines a set of values that describe number types and sizes, such as "H5T_NATIVE_INT" and "hsize_t". These values are determined at run time by the HDF-5 C library. To support these parameters, the Java class HDF5CDataTypes looks up the values when initiated. The values can be accessed as public variables of the Java class, such as:

 int data_type = HDF5CDataTypes.JH5T_NATIVE_INT;
The Java application uses both types of constants the same way, the only difference is that the HDF5CDataTypes may have different values on different platforms.

Error handling and Exceptions

The HDF5 error API (H5E) manages the behavior of the error stack in the HDF-5 library. This API is omitted from the JHI5. Errors are converted into Java exceptions. This is totally different from the C interface, but is very natural for Java programming.

The exceptions of the JHI5 are organized as sub-classes of the class HDF5Exception. There are two subclasses of HDF5Exception, HDF5LibraryException and HDF5JavaException. The sub-classes of the former represent errors from the HDF-5 C library, while sub-classes of the latter represent errors in the JHI5 wrapper and support code.

The super-class HDF5LibraryException implements the method 'printStackTrace()', which prints out the HDF-5 error stack, as described in the HDF-5 C API H5Eprint(). This may be used by Java exception handlers to print out the HDF-5 error stack.


Version:
HDF5 1.2
See also: ncsa.hdf.hdf5lib.HDFArray
ncsa.hdf.hdf5lib.HDF5Constants
ncsa.hdf.hdf5lib.HDF5CDataTypes
ncsa.hdf.hdf5lib.HDF5Exception<BR> http://hdf.ncsa.uiuc.edu/HDF5"

Definition at line 211 of file H5.java.


Static Public Member Functions

static synchronized native int H5Aclose (int attr_id) throws HDF5LibraryException
static synchronized native int H5Acopy (int src_aid, int dst_aid) throws HDF5LibraryException
static synchronized native int H5Acreate (int loc_id, String name, int type_id, int space_id, int create_plist) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Adelete (int loc_id, String name) throws HDF5LibraryException, NullPointerException
static synchronized native long H5Aget_name (int attr_id, long buf_size, String[] name) throws ArrayIndexOutOfBoundsException, ArrayStoreException, HDF5LibraryException, NullPointerException, IllegalArgumentException
static synchronized native int H5Aget_num_attrs (int loc_id) throws HDF5LibraryException
static synchronized native int H5Aget_space (int attr_id) throws HDF5LibraryException
static synchronized native int H5Aget_type (int attr_id) throws HDF5LibraryException
static synchronized native int H5Aopen_idx (int loc_id, int idx) throws HDF5LibraryException
static synchronized native int H5Aopen_name (int loc_id, String name) throws HDF5LibraryException, NullPointerException
static synchronized int H5Aread (int attr_id, int mem_type_id, Object obj) throws HDF5Exception, NullPointerException
static synchronized native int H5Aread (int attr_id, int mem_type_id, byte[] buf) throws HDF5LibraryException, NullPointerException
static synchronized native int H5AreadVL (int attr_id, int mem_type_id, String[] buf) throws HDF5LibraryException, NullPointerException
static synchronized int H5Awrite (int attr_id, int mem_type_id, Object obj) throws HDF5Exception, NullPointerException
static synchronized native int H5Awrite (int attr_id, int mem_type_id, byte[] buf) throws HDF5LibraryException, NullPointerException
static synchronized native int H5check_version (int majnum, int minnum, int relnum)
static synchronized native int H5close () throws HDF5LibraryException
static synchronized native int H5Dchdir_ext (String dir_name) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Dclose (int dataset_id) throws HDF5LibraryException
static synchronized native int H5Dcopy (int src_did, int dst_did) throws HDF5LibraryException
static synchronized native int H5Dcreate (int loc_id, String name, int type_id, int space_id, int create_plist_id) throws HDF5LibraryException, NullPointerException
static synchronized int H5Dextend (int dataset_id, long[] size) throws HDF5Exception, NullPointerException
static synchronized native int H5Dextend (int dataset_id, byte[] size) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Dget_create_plist (int dataset_id) throws HDF5LibraryException
static synchronized native int H5Dget_space (int dataset_id) throws HDF5LibraryException
static synchronized native int H5Dget_space_status (int dset_id, int[] status) throws HDF5LibraryException, NullPointerException
static synchronized native long H5Dget_storage_size (int dataset_id) throws HDF5LibraryException
static synchronized native int H5Dget_type (int dataset_id) throws HDF5LibraryException
static synchronized native int H5Dgetdir_ext (String[] dir_name, int size) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Dopen (int loc_id, String name) throws HDF5LibraryException, NullPointerException
static synchronized int H5Dread (int dataset_id, int mem_type_id, int mem_space_id, int file_space_id, int xfer_plist_id, Object obj) throws HDF5Exception, HDF5LibraryException, NullPointerException
static synchronized native int H5Dread (int dataset_id, int mem_type_id, int mem_space_id, int file_space_id, int xfer_plist_id, byte[] buf) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Dread_double (int dataset_id, int mem_type_id, int mem_space_id, int file_space_id, int xfer_plist_id, double[] buf) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Dread_float (int dataset_id, int mem_type_id, int mem_space_id, int file_space_id, int xfer_plist_id, float[] buf) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Dread_int (int dataset_id, int mem_type_id, int mem_space_id, int file_space_id, int xfer_plist_id, int[] buf) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Dread_long (int dataset_id, int mem_type_id, int mem_space_id, int file_space_id, int xfer_plist_id, long[] buf) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Dread_reg_ref (int dataset_id, int mem_type_id, int mem_space_id, int file_space_id, int xfer_plist_id, String[] buf) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Dread_short (int dataset_id, int mem_type_id, int mem_space_id, int file_space_id, int xfer_plist_id, short[] buf) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Dread_string (int dataset_id, int mem_type_id, int mem_space_id, int file_space_id, int xfer_plist_id, String[] buf) throws HDF5LibraryException, NullPointerException
static synchronized native int H5DreadVL (int dataset_id, int mem_type_id, int mem_space_id, int file_space_id, int xfer_plist_id, Object[] buf) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Dvlen_get_buf_size (int dataset_id, int type_id, int space_id, int[]size) throws HDF5LibraryException
static synchronized native int H5Dvlen_reclaim (int type_id, int space_id, int xfer_plist_id, byte[] buf) throws HDF5LibraryException, NullPointerException
static synchronized int H5Dwrite (int dataset_id, int mem_type_id, int mem_space_id, int file_space_id, int xfer_plist_id, Object obj) throws HDF5Exception, HDF5LibraryException, NullPointerException
static synchronized native int H5Dwrite (int dataset_id, int mem_type_id, int mem_space_id, int file_space_id, int xfer_plist_id, byte[] buf) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Dwrite_double (int dataset_id, int mem_type_id, int mem_space_id, int file_space_id, int xfer_plist_id, double[] buf) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Dwrite_float (int dataset_id, int mem_type_id, int mem_space_id, int file_space_id, int xfer_plist_id, float[] buf) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Dwrite_int (int dataset_id, int mem_type_id, int mem_space_id, int file_space_id, int xfer_plist_id, int[] buf) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Dwrite_long (int dataset_id, int mem_type_id, int mem_space_id, int file_space_id, int xfer_plist_id, long[] buf) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Dwrite_short (int dataset_id, int mem_type_id, int mem_space_id, int file_space_id, int xfer_plist_id, short[] buf) throws HDF5LibraryException, NullPointerException
static synchronized native int H5DwriteString (int dataset_id, int mem_type_id, int mem_space_id, int file_space_id, int xfer_plist_id, String[] buf) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Eclear () throws HDF5LibraryException
static synchronized native int H5error_off ()
static synchronized native int H5Fclose (int file_id) throws HDF5LibraryException
static synchronized native int H5Fcreate (String name, int flags, int create_id, int access_id) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Fflush (int object_id, int scope) throws HDF5LibraryException
static synchronized native int H5Fget_access_plist (int file_id) throws HDF5LibraryException
static synchronized native int H5Fget_create_plist (int file_id) throws HDF5LibraryException
static synchronized native long H5Fget_filesize (int file_id) throws HDF5LibraryException
static synchronized native String H5Fget_name (int obj_id, int size) throws HDF5LibraryException
static synchronized native int H5Fget_obj_count (int file_id, int types) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Fget_obj_ids (int file_id, int types, int max, int[] obj_id_list) throws HDF5LibraryException, NullPointerException
static synchronized native boolean H5Fis_hdf5 (String name) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Fmount (int loc_id, String name, int child_id, int plist_id) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Fopen (String name, int flags, int access_id) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Freopen (int file_id) throws HDF5LibraryException
static synchronized native int H5Funmount (int loc_id, String name) throws HDF5LibraryException, NullPointerException
static synchronized native int H5garbage_collect () throws HDF5LibraryException
static synchronized native int H5Gclose (int group_id) throws HDF5LibraryException
static synchronized native int H5Gcreate (int loc_id, String name, int size_hint) throws HDF5LibraryException, NullPointerException
static synchronized native int H5get_libversion (int[] libversion) throws HDF5LibraryException
static synchronized native int H5Gget_comment (int loc_id, String name, int bufsize, String[] comment) throws ArrayIndexOutOfBoundsException, ArrayStoreException, HDF5LibraryException, NullPointerException, IllegalArgumentException
static synchronized native int H5Gget_linkval (int loc_id, String name, int size, String[] value) throws ArrayIndexOutOfBoundsException, ArrayStoreException, HDF5LibraryException, NullPointerException, IllegalArgumentException
static synchronized native int H5Gget_num_objs (int loc_id, long[] num_obj) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Gget_obj_info_all (int loc_id, String name, String[] oname, int[]type, int n) throws HDF5LibraryException, NullPointerException
static synchronized int H5Gget_obj_info_all (int loc_id, String name, String[] oname, int[]type) throws HDF5LibraryException, NullPointerException
static synchronized int H5Gget_obj_info_idx (int loc_id, String name, int idx, String[] oname, int[]type) throws HDF5LibraryException, NullPointerException
static synchronized int H5Gget_objinfo (int loc_id, String name, boolean follow_link, HDF5GroupInfo info) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Gget_objinfo (int loc_id, String name, boolean follow_link, long[] fileno, long[] objno, int[] link_info, long[] mtime) throws HDF5LibraryException, NullPointerException, IllegalArgumentException
static synchronized native long H5Gget_objname_by_idx (int group_id, long idx, String[] name, long size) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Gget_objtype_by_idx (int group_id, long idx) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Glink (int loc_id, int link_type, String current_name, String new_name) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Glink2 (int curr_loc_id, String current_name, int link_type, int new_loc_id, String new_name) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Gmove (int loc_id, String src, String dst) throws HDF5LibraryException, NullPointerException
static synchronized int H5Gn_members (int loc_id, String name) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Gopen (int loc_id, String name) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Gset_comment (int loc_id, String name, String comment) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Gunlink (int loc_id, String name) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Idec_ref (int obj_id) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Iget_file_id (int obj_id) throws HDF5LibraryException
static synchronized native long H5Iget_name (int obj_id, String[] name, long size) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Iget_ref (int obj_id) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Iget_type (int obj_id) throws HDF5LibraryException
static synchronized native int H5Iinc_ref (int obj_id) throws HDF5LibraryException, NullPointerException
static synchronized native int H5INcreate (String grp_name, int grp_loc_id, int property_list, int data_loc_id, String data_loc_name, String field_name, long max_mem_size)
static synchronized native int H5INquery (int dset_id, String keys[], Object ubounds, Object lbounds, int nkeys)
static synchronized native int H5open () throws HDF5LibraryException
static synchronized native boolean H5Pall_filters_avail (int dcpl_id) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Pclose (int plist) throws HDF5LibraryException
static synchronized native int H5Pclose_class (int plid) throws HDF5LibraryException
static synchronized native int H5Pcopy (int plist) throws HDF5LibraryException
static synchronized native int H5Pcopy_prop (int dst_id, int src_id, String name) throws HDF5LibraryException
static synchronized native int H5Pcreate (int type) throws HDF5LibraryException
static synchronized native int H5Pcreate_list (int cls) throws HDF5LibraryException
static synchronized native int H5Pequal (int plid1, int plid2) throws HDF5LibraryException
static synchronized native int H5Pexist (int plid, String name) throws HDF5LibraryException
static synchronized native int H5Pfill_value_defined (int plist_id, int[] status) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Pget (int plid, String name) throws HDF5LibraryException
static synchronized native int H5Pget_alignment (int plist, long[] alignment) throws HDF5LibraryException, NullPointerException, IllegalArgumentException
static synchronized native int H5Pget_alloc_time (int plist_id, int[] alloc_time) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Pget_btree_ratios (int plist_id, double[] left, double[] middle, double[] right) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Pget_buffer (int plist, byte[] tconv, byte[] bkg) throws HDF5LibraryException, IllegalArgumentException
static synchronized native int H5Pget_cache (int plist, int[] mdc_nelmts, int[] rdcc_nelmts, int[] rdcc_nbytes, double[] rdcc_w0) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Pget_chunk (int plist, int max_ndims, long[] dims) throws HDF5LibraryException, NullPointerException, IllegalArgumentException
static synchronized native int H5Pget_class (int plist) throws HDF5LibraryException
static synchronized native String H5Pget_class_name (int plid) throws HDF5LibraryException
static synchronized native int H5Pget_class_parent (int plid) throws HDF5LibraryException
static synchronized native int H5Pget_edc_check (int plist) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Pget_external (int plist, int idx, int name_size, String[] name, long[] size) throws ArrayIndexOutOfBoundsException, ArrayStoreException, HDF5LibraryException, NullPointerException, IllegalArgumentException
static synchronized native int H5Pget_external_count (int plist) throws HDF5LibraryException
static synchronized native long H5Pget_family_offset (int fapl_id) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Pget_fapl_core (int fapl_id, int[] increment, boolean[] backing_store) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Pget_fapl_family (int fapl_id, long[] memb_size, int[] memb_fapl_id) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Pget_fclose_degree (int plist_id) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Pget_fill_time (int plist_id, int[] fill_time) throws HDF5LibraryException, NullPointerException
static synchronized int H5Pget_fill_value (int plist_id, int type_id, Object obj) throws HDF5Exception
static synchronized native int H5Pget_fill_value (int plist_id, int type_id, byte[] value) throws HDF5Exception
static synchronized native int H5Pget_filter (int plist, int filter_number, int[] flags, int[] cd_nelmts, int[] cd_values, int namelen, String[] name) throws ArrayIndexOutOfBoundsException, ArrayStoreException, HDF5LibraryException, NullPointerException
static synchronized native int H5Pget_filter_by_id (int plist_id, int filter, int[] flags, long[] cd_nelmts, int[] cd_values, long namelen, String[] name) throws HDF5LibraryException, NullPointerException
static synchronized int H5Pget_gc_reference (int fapl_id, boolean[] gc_ref) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Pget_gc_references (int fapl_id, boolean[] gc_ref) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Pget_hyper_vector_size (int dxpl_id, long[] vector_size) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Pget_istore_k (int plist, int[] ik) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Pget_layout (int plist) throws HDF5LibraryException
static synchronized native int H5Pget_nfilters (int plist) throws HDF5LibraryException
static synchronized native long H5Pget_nprops (int plid) throws HDF5LibraryException
static synchronized native int H5Pget_preserve (int plist) throws HDF5LibraryException
static synchronized native long H5Pget_size (int plid, String name) throws HDF5LibraryException
static synchronized native int H5Pget_sizes (int plist, int[] size) throws HDF5LibraryException, NullPointerException, IllegalArgumentException
static synchronized native int H5Pget_small_data_block_size (int plist, long[] size) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Pget_sym_k (int plist, int[] size) throws HDF5LibraryException, NullPointerException, IllegalArgumentException
static synchronized native int H5Pget_userblock (int plist, long[] size) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Pget_version (int plist, int[] version_info) throws HDF5LibraryException, NullPointerException, IllegalArgumentException
static synchronized native int H5Pisa_class (int plist, int pclass) throws HDF5LibraryException
static synchronized native int H5Pmodify_filter (int plist, int filter, int flags, long cd_nelmts, int[] cd_values) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Premove (int plid, String name) throws HDF5LibraryException
static synchronized native int H5Premove_filter (int obj_id, int filter) throws HDF5LibraryException
static synchronized native int H5Pset (int plid, String name, int value) throws HDF5LibraryException
static synchronized native int H5Pset_alignment (int plist, long threshold, long alignment) throws HDF5LibraryException
static synchronized native int H5Pset_alloc_time (int plist_id, int alloc_time) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Pset_btree_ratios (int plist_id, double left, double middle, double right) throws HDF5LibraryException
static synchronized native int H5Pset_buffer (int plist, int size, byte[] tconv, byte[] bkg) throws HDF5LibraryException, IllegalArgumentException
static synchronized native int H5Pset_cache (int plist, int mdc_nelmts, int rdcc_nelmts, int rdcc_nbytes, double rdcc_w0) throws HDF5LibraryException
static synchronized int H5Pset_chunk (int plist, int ndims, long[] dim) throws HDF5Exception, NullPointerException, IllegalArgumentException
static synchronized native int H5Pset_chunk (int plist, int ndims, byte[] dim) throws HDF5LibraryException, NullPointerException, IllegalArgumentException
static synchronized native int H5Pset_deflate (int plist, int level) throws HDF5LibraryException
static synchronized native int H5Pset_edc_check (int plist, int check) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Pset_external (int plist, String name, long offset, long size) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Pset_family_offset (int fapl_id, long offset) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Pset_fapl_core (int fapl_id, int increment, boolean backing_store) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Pset_fapl_family (int fapl_id, long memb_size, int memb_fapl_id) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Pset_fapl_log (int fapl_id, String logfile, int flags, int buf_size) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Pset_fclose_degree (int plist, int degree) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Pset_fill_time (int plist_id, int fill_time) throws HDF5LibraryException, NullPointerException
static synchronized int H5Pset_fill_value (int plist_id, int type_id, Object obj) throws HDF5Exception
static synchronized native int H5Pset_fill_value (int plist_id, int type_id, byte[] value) throws HDF5Exception
static synchronized native int H5Pset_filter (int plist, int filter, int flags, int cd_nelmts, int[] cd_values) throws HDF5LibraryException
static synchronized native int H5Pset_fletcher32 (int plist) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Pset_gc_references (int fapl_id, boolean gc_ref) throws HDF5LibraryException
static synchronized native int H5Pset_hyper_vector_size (int dxpl_id, long vector_size) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Pset_istore_k (int plist, int ik) throws HDF5LibraryException
static synchronized native int H5Pset_layout (int plist, int layout) throws HDF5LibraryException
static synchronized native int H5Pset_preserve (int plist, boolean status) throws HDF5LibraryException, IllegalArgumentException
static synchronized native int H5Pset_shuffle (int plist_id) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Pset_sizes (int plist, int sizeof_addr, int sizeof_size) throws HDF5LibraryException
static synchronized native int H5Pset_small_data_block_size (int plist, long size) throws HDF5LibraryException
static synchronized native int H5Pset_sym_k (int plist, int ik, int lk) throws HDF5LibraryException
static synchronized native int H5Pset_szip (int plist, int options_mask, int pixels_per_block) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Pset_userblock (int plist, long size) throws HDF5LibraryException
static synchronized native int H5Punregister (int plid, String name) throws HDF5LibraryException
static synchronized byte[] H5Rcreate (int loc_id, String name, int ref_type, int space_id) throws HDF5LibraryException, NullPointerException, IllegalArgumentException
static synchronized native int H5Rdereference (int dataset, int ref_type, byte[] ref) throws HDF5LibraryException, NullPointerException, IllegalArgumentException
static synchronized native int H5Rget_obj_type (int loc_id, int ref_type, byte ref[]) throws HDF5LibraryException, NullPointerException, IllegalArgumentException
static synchronized native int H5Rget_region (int loc_id, int ref_type, byte[] ref) throws HDF5LibraryException, NullPointerException, IllegalArgumentException
static synchronized native int H5Sclose (int space_id) throws HDF5LibraryException
static synchronized native int H5Scopy (int space_id) throws HDF5LibraryException
static synchronized native int H5Screate (int type) throws HDF5LibraryException
static synchronized int H5Screate_simple (int rank, long[] dims, long[] maxdims) throws HDF5Exception, NullPointerException
static synchronized native int H5Screate_simple (int rank, byte[] dims, byte[] maxdims) throws HDF5LibraryException, NullPointerException
static synchronized native int H5set_free_list_limits (int reg_global_lim, int reg_list_lim, int arr_global_lim, int arr_list_lim, int blk_global_lim, int blk_list_lim) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Sextent_copy (int dest_space_id, int source_space_id) throws HDF5LibraryException
static synchronized native int H5Sget_select_bounds (int spaceid, long[] start, long[] end) throws HDF5LibraryException, NullPointerException
static synchronized native long H5Sget_select_elem_npoints (int spaceid) throws HDF5LibraryException
static synchronized native int H5Sget_select_elem_pointlist (int spaceid, long startpoint, long numpoints, long[] buf) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Sget_select_hyper_blocklist (int spaceid, long startblock, long numblocks, long[] buf) throws HDF5LibraryException, NullPointerException
static synchronized native long H5Sget_select_hyper_nblocks (int spaceid) throws HDF5LibraryException
static synchronized native long H5Sget_select_npoints (int space_id) throws HDF5LibraryException
static synchronized native int H5Sget_simple_extent_dims (int space_id, long[] dims, long[] maxdims) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Sget_simple_extent_ndims (int space_id) throws HDF5LibraryException
static synchronized native long H5Sget_simple_extent_npoints (int space_id) throws HDF5LibraryException
static synchronized native int H5Sget_simple_extent_type (int space_id) throws HDF5LibraryException
static synchronized native boolean H5Sis_simple (int space_id) throws HDF5LibraryException
static synchronized int H5Soffset_simple (int space_id, long[] offset) throws HDF5Exception, NullPointerException
static synchronized native int H5Soffset_simple (int space_id, byte[] offset) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Sselect_all (int space_id) throws HDF5LibraryException
static synchronized int H5Sselect_elements (int space_id, int op, int num_elements, long[][] coord2D) throws HDF5Exception, HDF5LibraryException, NullPointerException
static synchronized int H5Sselect_hyperslab (int space_id, int op, long[] start, long[] stride, long[] count, long[] block) throws HDF5Exception, NullPointerException, IllegalArgumentException
static synchronized native int H5Sselect_hyperslab (int space_id, int op, byte[] start, byte[] stride, byte[] count, byte[] block) throws HDF5LibraryException, NullPointerException, IllegalArgumentException
static synchronized native int H5Sselect_none (int space_id) throws HDF5LibraryException
static synchronized native boolean H5Sselect_valid (int space_id) throws HDF5LibraryException
static synchronized native int H5Sset_extent_none (int space_id) throws HDF5LibraryException
static synchronized int H5Sset_extent_simple (int space_id, int rank, long[] current_size, long[] maximum_size) throws HDF5Exception, NullPointerException
static synchronized native int H5Sset_extent_simple (int space_id, int rank, byte[] current_size, byte[] maximum_size) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Tarray_create (int base, int rank, int[] dims, int[] perms) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Tclose (int type_id) throws HDF5LibraryException
static synchronized native int H5Tcommit (int loc_id, String name, int type) throws HDF5LibraryException, NullPointerException
static synchronized native boolean H5Tcommitted (int type) throws HDF5LibraryException
static synchronized native int H5Tcopy (int type_id) throws HDF5LibraryException
static synchronized native int H5Tcreate (int dclass, int size) throws HDF5LibraryException
static synchronized native boolean H5Tdetect_class (int dtype_id, int dtype_class) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Tenum_create (int base_id) throws HDF5LibraryException
static synchronized int H5Tenum_insert (int type, String name, int value) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Tenum_insert (int type, String name, int[] value) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Tenum_nameof (int type, int[] value, String[] name, int size) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Tenum_valueof (int type, String name, int[] value) throws HDF5LibraryException, NullPointerException
static synchronized native boolean H5Tequal (int type_id1, int type_id2) throws HDF5LibraryException
static synchronized native int H5Tget_array_dims (int dt, int[] dims, int[] perms) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Tget_array_ndims (int dt) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Tget_class (int type_id) throws HDF5LibraryException
static synchronized native int H5Tget_cset (int type_id) throws HDF5LibraryException
static synchronized native int H5Tget_ebias (int type_id) throws HDF5LibraryException
static synchronized native int H5Tget_fields (int type_id, int[] fields) throws HDF5LibraryException, NullPointerException, IllegalArgumentException
static synchronized native int H5Tget_inpad (int type_id) throws HDF5LibraryException
static synchronized native int H5Tget_member_class (int type_id, int field_idx) throws HDF5LibraryException
static synchronized native int H5Tget_member_index (int type_id, String field_name)
static synchronized native String H5Tget_member_name (int type_id, int field_idx)
static synchronized native long H5Tget_member_offset (int type_id, int membno) throws HDF5LibraryException
static synchronized native int H5Tget_member_type (int type_id, int field_idx) throws HDF5LibraryException
static synchronized native int H5Tget_member_value (int type_id, int membno, int[] value) throws HDF5LibraryException, NullPointerException
static synchronized int H5Tget_native_type (int tid) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Tget_native_type (int tid, int alloc_time) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Tget_nmembers (int type_id) throws HDF5LibraryException
static synchronized native int H5Tget_norm (int type_id) throws HDF5LibraryException
static synchronized native int H5Tget_offset (int type_id) throws HDF5LibraryException
static synchronized native int H5Tget_order (int type_id) throws HDF5LibraryException
static synchronized native int H5Tget_pad (int type_id, int[] pad) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Tget_precision (int type_id) throws HDF5LibraryException
static synchronized native int H5Tget_sign (int type_id) throws HDF5LibraryException
static synchronized native int H5Tget_size (int type_id) throws HDF5LibraryException
static synchronized native int H5Tget_strpad (int type_id) throws HDF5LibraryException
static synchronized native int H5Tget_super (int type) throws HDF5LibraryException
static synchronized native String H5Tget_tag (int type) throws HDF5LibraryException
static synchronized native int H5Tinsert (int type_id, String name, long offset, int field_id) throws HDF5LibraryException, NullPointerException
static synchronized native boolean H5Tis_variable_str (int dtype_id) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Tlock (int type_id) throws HDF5LibraryException
static synchronized native int H5Topen (int loc_id, String name) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Tpack (int type_id) throws HDF5LibraryException
static synchronized native int H5Tset_cset (int type_id, int cset) throws HDF5LibraryException
static synchronized native int H5Tset_ebias (int type_id, int ebias) throws HDF5LibraryException
static synchronized native int H5Tset_fields (int type_id, int spos, int epos, int esize, int mpos, int msize) throws HDF5LibraryException
static synchronized native int H5Tset_inpad (int type_id, int inpad) throws HDF5LibraryException
static synchronized native int H5Tset_norm (int type_id, int norm) throws HDF5LibraryException
static synchronized native int H5Tset_offset (int type_id, int offset) throws HDF5LibraryException
static synchronized native int H5Tset_order (int type_id, int order) throws HDF5LibraryException
static synchronized native int H5Tset_pad (int type_id, int lsb, int msb) throws HDF5LibraryException
static synchronized native int H5Tset_precision (int type_id, int precision) throws HDF5LibraryException
static synchronized native int H5Tset_sign (int type_id, int sign) throws HDF5LibraryException
static synchronized native int H5Tset_size (int type_id, int size) throws HDF5LibraryException
static synchronized native int H5Tset_strpad (int type_id, int strpad) throws HDF5LibraryException
static synchronized native int H5Tset_tag (int type, String tag) throws HDF5LibraryException
static synchronized native int H5Tvlen_create (int base_id) throws HDF5LibraryException
static synchronized native int H5Zfilter_avail (int filter) throws HDF5LibraryException, NullPointerException
static synchronized native int H5Zget_filter_info (int filter) throws HDF5LibraryException
static synchronized native int H5Zunregister (int filter) throws HDF5LibraryException, NullPointerException
static synchronized native int J2C (int java_constant)

Static Public Attributes

static final String H5_LIBRARY_NAME_PROPERTY_KEY = "ncsa.hdf.hdf5lib.H5.loadLibraryName"
static final String H5PATH_PROPERTY_KEY = "ncsa.hdf.hdf5lib.H5.hdf5lib"

Static Package Functions

 [static initializer]

Static Private Member Functions

static synchronized native int H5dont_atexit () throws HDF5LibraryException
static synchronized native int H5Rcreate (byte[] ref, int loc_id, String name, int ref_type, int space_id) throws HDF5LibraryException, NullPointerException, IllegalArgumentException
static synchronized native int H5Sselect_elements (int space_id, int op, int num_elements, byte[] coord) throws HDF5LibraryException, NullPointerException

Static Private Attributes

static String s_libraryName
static Logger s_logger

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index