Package org.eclipse.dawnsci.hdf5.nexus
Class NexusFileFactoryHDF5
java.lang.Object
org.eclipse.dawnsci.hdf5.nexus.NexusFileFactoryHDF5
- All Implemented Interfaces:
INexusFileFactory
HDF5 implementation of
INexusFileFactory.
DO NOT use this concrete class in non-test code. Use OSGi to inject the
implementation of INexusFileFactory.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnewNexusFile(String path) Create a newNexusFilewith the given path.newNexusFile(String path, boolean enableSWMR) Create a newNexusFilewith the given path, optionally enabling SWMR (Single Write Multiple Read).
-
Constructor Details
-
NexusFileFactoryHDF5
public NexusFileFactoryHDF5()
-
-
Method Details
-
newNexusFile
Description copied from interface:INexusFileFactoryCreate a newNexusFilewith the given path. This can be used to read an existing NexusFile or to write a new file (overwriting any existing file).- Specified by:
newNexusFilein interfaceINexusFileFactory- Parameters:
path- path- Returns:
- new
NexusFile
-
newNexusFile
Description copied from interface:INexusFileFactoryCreate a newNexusFilewith 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:
newNexusFilein interfaceINexusFileFactory- Parameters:
path- pathenableSWMR-trueto enable SWMR,falseotherwise- Returns:
- new
NexusFile
-