We don't have any Java example. If you have the HDF5 source code, you
should be able to find
some C examples at the "test/" directory. If you are using the HDF5 Java
wrapper, you can follow
the C examples and write your own Java example. Something like
int fapl_id = H5.H5Pcreate(HDF5Constants.H5P_FILE_ACCESS);
H5.H5Pset_fapl_core(fapl_id, 1024, true);
The core driver was not tested in HDF5 Java.
Thanks
--pc
Nigel Pickard wrote:
I'm currently evaluating HDF5 for use with Java to store datasets.
Using the examples given, I have no problem in creating an HDF file
that represents a simple example Java object. However, instead of
writing the data to a file and incurring the costs of File I/O, I'd
like to write the data to memory instead (ultimately to a data stream
but for test purpose writing the data to memory as an object would be
fine). Is there a good Java example for this? Is it possible? Or can
I only use Java to write to files?
If anyone has sample code showing this for a simple Java object, I
would be more than grateful.
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org