Hi
I am using fesapi 1.2.3.0 java wrapper. I want to compress hdf5 data.
om.f2i.energisticsStandardsApi.common.HdfProxy has method
setCompressionLevel(long newCompressionLevel)
HdfProxy creation is done by following method which is returning AbstractHdfProxy
public com.f2i.energisticsStandardsApi.common.AbstractHdfProxy createHdfProxy(String guid, String title, String packageDirAbsolutePath, String externalFilePath, com.f2i.energisticsStandardsApi.common.DataObjectRepository.openingMode hdfPermissionAccess)
When i down cast like this
(HdfProxy) repo.createHdfProxy("", "External HDF5 proxy", epcDoc.getStorageDirectory(),epcDoc.getName() + ".h5", mode)
It gives following exception java.lang.ClassCastException: com.f2i.energisticsStandardsApi.common.AbstractHdfProxy cannot be cast to com.f2i.energisticsStandardsApi.common.HdfProxy
…
So please let me know how I can utilize compression feature of hdf5 data.