generated.docs.javadoc.org.eclipse.dawnsci.hdf5.nexus.NexusFileFactoryHDF5.html Maven / Gradle / Ivy
NexusFileFactoryHDF5 (h5jan API)
org.eclipse.dawnsci.hdf5.nexus
Class NexusFileFactoryHDF5
- java.lang.Object
-
- org.eclipse.dawnsci.hdf5.nexus.NexusFileFactoryHDF5
-
- All Implemented Interfaces:
- INexusFileFactory
public class NexusFileFactoryHDF5
extends java.lang.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 Summary
Constructors
Constructor and Description
NexusFileFactoryHDF5()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
NexusFile
newNexusFile(java.lang.String path)
Create a new NexusFile
with the given path.
NexusFile
newNexusFile(java.lang.String path,
boolean enableSWMR)
Create a new NexusFile
with the given path, optionally enabling SWMR
(Single Write Multiple Read).
-
-
Method Detail
-
newNexusFile
public NexusFile newNexusFile(java.lang.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(java.lang.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