Class NexusFileFactoryHDF5

java.lang.Object
org.eclipse.dawnsci.hdf5.nexus.NexusFileFactoryHDF5
All Implemented Interfaces:
INexusFileFactory

public class NexusFileFactoryHDF5 extends Object implements INexusFileFactory
HDF5 implementation of INexusFileFactory. DO NOT use this concrete class in non-test code. Use OSGi to inject the implementation of INexusFileFactory.
  • Constructor Details

    • NexusFileFactoryHDF5

      public NexusFileFactoryHDF5()
  • Method Details

    • newNexusFile

      public NexusFile newNexusFile(String path)
      Description copied from interface: INexusFileFactory
      Create a new NexusFile with the given path. This can be used to read an existing NexusFile or to write a new file (overwriting any existing file).
      Specified by:
      newNexusFile in interface INexusFileFactory
      Parameters:
      path - path
      Returns:
      new NexusFile
    • newNexusFile

      public NexusFile newNexusFile(String path, boolean enableSWMR)
      Description copied from interface: INexusFileFactory
      Create a new NexusFile with the given path, optionally enabling SWMR (Single Write Multiple Read). This can be used to read an existing NexusFile or to write a new file (overwriting any existing file).
      Specified by:
      newNexusFile in interface INexusFileFactory
      Parameters:
      path - path
      enableSWMR - true to enable SWMR, false otherwise
      Returns:
      new NexusFile