Uses of Class
hdf.object.FileFormat
Package
Description
-
Uses of FileFormat in hdf.object
Modifier and TypeFieldDescriptionprotected final FileFormat
HObject.fileFormat
The file which contains the objectModifier and TypeMethodDescriptionfinal FileFormat
Deprecated.FileFormat.createFile
(String filename, int createFlag) Creates a file with the specified name and returns a new FileFormat implementation instance associated with the file.abstract FileFormat
FileFormat.createInstance
(String filename, int access) Creates a FileFormat implementation instance with specified filename and access.static final FileFormat
FileFormat.getFileFormat
(String key) Returns the FileFormat with specified key from the list of supported formats.final FileFormat
HObject.getFileFormat()
Returns the file that contains the object.static final FileFormat[]
FileFormat.getFileFormats()
Returns an array of supported FileFormat instances.static final FileFormat
FileFormat.getInstance
(String filename) Creates a FileFormat instance for the specified file.final FileFormat
Deprecated.As of 2.4, replaced bycreateInstance(String, int)
The replacement method has identical functionality and a more descriptive name.static final FileFormat
FileFormat.removeFileFormat
(String key) Removes a FileFormat from the list of supported formats.Modifier and TypeMethodDescriptionstatic final void
FileFormat.addFileFormat
(String key, FileFormat fileformat) Adds a FileFormat with specified key to the list of supported formats.static final HObject
FileFormat.findObject
(FileFormat file, long[] oid) Finds an object by its object IDstatic final HObject
FileFormat.findObject
(FileFormat file, String path) Finds an object by the full path of the object (path+name)abstract boolean
FileFormat.isThisType
(FileFormat fileFormat) Checks if the class implements the specified FileFormat.ModifierConstructorDescriptionCompoundDS
(FileFormat theFile, String theName, String thePath) Constructs a CompoundDS object with the given file, dataset name and path.CompoundDS
(FileFormat theFile, String dsName, String dsPath, long[] oid) Deprecated.Not for public use in the future.
UsingCompoundDS(FileFormat, String, String)
Dataset
(FileFormat theFile, String dsName, String dsPath) Constructs a Dataset object with a given file, name and path.Dataset
(FileFormat theFile, String dsName, String dsPath, long[] oid) Deprecated.Not for public use in the future.Datatype
(FileFormat theFile, int tclass, int tsize, int torder, int tsign, Datatype tbase, Datatype pbase) Constructs a Datatype with specified class, size, byte order and sign.Datatype
(FileFormat theFile, long tid) Constructs a Datatype with a given native datatype identifier.Datatype
(FileFormat theFile, long tid, Datatype pbase) Constructs a Datatype with a given native datatype identifier.Datatype
(FileFormat theFile, String typeName, String typePath) Constructs a named datatype with a given file, name and path.Datatype
(FileFormat theFile, String typeName, String typePath, long[] oid) Deprecated.Not for public use in the future.
UsingDatatype(FileFormat, String, String)
Group
(FileFormat theFile, String grpName, String grpPath, Group grpParent) Constructs an instance of the group with specific name, path and parent group.Group
(FileFormat theFile, String grpName, String grpPath, Group grpParent, long[] oid) Deprecated.Not for public use in the future.
UsingGroup(FileFormat, String, String, Group)
HObject
(FileFormat theFile, String theName, String thePath) Constructs an instance of a data object with specific name and path.HObject
(FileFormat theFile, String theName, String thePath, long[] oid) Deprecated.ScalarDS
(FileFormat theFile, String theName, String thePath) Constructs an instance of a ScalarDS with specific name and path.ScalarDS
(FileFormat theFile, String theName, String thePath, long[] oid) Deprecated.Not for public use in the future.
UsingScalarDS(FileFormat, String, String)
-
Uses of FileFormat in hdf.object.fits
Modifier and TypeMethodDescriptionFitsFile.createInstance
(String filename, int access) Creates a FitsFile instance with specified file name and READ access.Modifier and TypeMethodDescriptionboolean
FitsFile.isThisType
(FileFormat fileformat) Checks if the given file format is a Fits file.ModifierConstructorDescriptionFitsDataset
(FileFormat fileFormat, nom.tam.fits.BasicHDU hdu, String dName, long[] oid) Constructs an FitsDataset object with specific netcdf variable.FitsGroup
(FileFormat fileFormat, String name, String path, Group parent, long[] theID) Constructs an HDF5 group with specific name, path, and parent. -
Uses of FileFormat in hdf.object.h4
Modifier and TypeMethodDescriptionH4File.createFile
(String filename, int createFlag) Creates an HDF4 file with the specified name and returns a new H4File instance associated with the file.H4File.createInstance
(String filename, int access) Creates an H4File instance with specified file name and access.Modifier and TypeMethodDescriptionboolean
H4File.isThisType
(FileFormat fileformat) Checks if the given file format is an HDF4 file.ModifierConstructorDescriptionH4GRImage
(FileFormat theFile, String name, String path) Creates a H4GRImage object with specific name and path.H4GRImage
(FileFormat theFile, String name, String path, long[] oid) Creates a H4GRImage object with specific name, path, and object ID.H4Group
(FileFormat theFile, String name, String path, Group parent) Creates a group object with specific name, path, and parent.H4Group
(FileFormat theFile, String name, String path, Group parent, long[] oid) Creates a group object with specific name, path, parent and oid.H4SDS
(FileFormat theFile, String name, String path) Creates an H4SDS object with specific name and path.H4SDS
(FileFormat theFile, String name, String path, long[] oid) Creates an H4SDS object with specific name, path and oid.H4Vdata
(FileFormat theFile, String name, String path) Creates an H4Vdata object with specific name and path.H4Vdata
(FileFormat theFile, String name, String path, long[] oid) Creates an H4Vdata object with specific name, path and oid. -
Uses of FileFormat in hdf.object.h5
Modifier and TypeClassDescriptionclass
H5File is an implementation of the FileFormat class for HDF5 files.Modifier and TypeMethodDescriptionH5File.createFile
(String filename, int createFlag) Creates an HDF5 file with the specified name and returns a new H5File instance associated with the file.H5File.createInstance
(String filename, int access) Creates an H5File instance with specified file name and access.Modifier and TypeMethodDescriptionboolean
H5File.isThisType
(FileFormat theFile) Checks if the specified FileFormat instance has the HDF5 format.ModifierConstructorDescriptionH5CompoundDS
(FileFormat theFile, String theName, String thePath) Constructs an instance of a HDF5 compound dataset with given file, dataset name and path.H5CompoundDS
(FileFormat theFile, String theName, String thePath, long[] oid) Deprecated.Not for public use in the future.
UsingH5CompoundDS(FileFormat, String, String)
H5Datatype
(FileFormat theFile, long nativeID) Constructs a Datatype with a given native datatype identifier.H5Datatype
(FileFormat theFile, long nativeID, Datatype pbase) Constructs a Datatype with a given native datatype identifier.H5Datatype
(FileFormat theFile, String theName, String thePath) Constructs an named HDF5 data type object for a given file, dataset name and group path.H5Datatype
(FileFormat theFile, String theName, String thePath, long[] oid) Deprecated.Not for public use in the future.H5Group
(FileFormat theFile, String theName, String thePath, Group theParent) Constructs an HDF5 group with specific name, path, and parent.H5Group
(FileFormat theFile, String theName, String thePath, Group theParent, long[] oid) Deprecated.Not for public use in the future.
UsingH5Group(FileFormat, String, String, Group)
H5Link
(FileFormat theFile, String theName, String thePath) Constructs an HDF5 link with specific name, path, and parent.H5Link
(FileFormat theFile, String theName, String thePath, long[] oid) Constructs an HDF5 link with specific name, path, parent and oid.H5MetaDataContainer
(FileFormat theFile, String name, String path, HObject parent) Constructs an HDF5 group with specific name, path, and parent.H5MetaDataContainer
(FileFormat theFile, String name, String path, HObject parent, long[] oid) Deprecated.Not for public use in the future.H5ReferenceType
(FileFormat theFile, long theSize, long nativeID) Constructs a H5ReferenceType with a given native datatype identifier.H5ReferenceType
(FileFormat theFile, long theSize, long nativeID, Datatype pbase) Constructs a H5ReferenceType with a given native datatype identifier.H5ReferenceType
(FileFormat theFile, String theName, String thePath) Constructs an named HDF5 data type reference for a given file, dataset name and group path.H5ReferenceType
(FileFormat theFile, String theName, String thePath, long[] oid) Deprecated.Not for public use in the future.H5ScalarDS
(FileFormat theFile, String theName, String thePath) Constructs an instance of a H5 scalar dataset with given file, dataset name and path.H5ScalarDS
(FileFormat theFile, String theName, String thePath, long[] oid) Deprecated.Not for public use in the future.
UsingH5ScalarDS(FileFormat, String, String)
-
Uses of FileFormat in hdf.object.nc2
Modifier and TypeMethodDescriptionNC2File.createInstance
(String filename, int access) Creates a NC2File instance with specified file name and READ access.Modifier and TypeMethodDescriptionboolean
NC2File.isThisType
(FileFormat fileformat) Checks if the given file format is a NetCDF3 file.ModifierConstructorDescriptionNC2Dataset
(FileFormat fileFormat, ucar.nc2.Variable ncDataset, long[] oid) Constructs an NC2Dataset object with specific netcdf variable.NC2Group
(FileFormat fileFormat, String name, String path, Group parent, long[] theID) Constructs an NC2 group with specific name, path, and parent. -
Uses of FileFormat in hdf.view
Modifier and TypeMethodDescriptionstatic FileFormat
Tools.createNewFile
(String filename, String dir, String type, List<FileFormat> openFiles) Create a new HDF file with default file creation propertiesModifier and TypeMethodDescriptionvoid
HDFView.closeFile
(FileFormat theFile) close the file currently selected in the applicationvoid
HDFView.writeDataToFile
(FileFormat theFile) Write the change of data to the given file.Modifier and TypeMethodDescriptionstatic FileFormat
Tools.createNewFile
(String filename, String dir, String type, List<FileFormat> openFiles) Create a new HDF file with default file creation properties -
Uses of FileFormat in hdf.view.dialog
Modifier and TypeFieldDescriptionprotected FileFormat
NewDataObjectDialog.fileFormat
The file format associated with this objectModifierConstructorDescriptionImageConversionDialog
(org.eclipse.swt.widgets.Shell parent, String typeFrom, String typeTo, String dir, List<FileFormat> openFiles) Constructs a FileConversionDialog -
Uses of FileFormat in hdf.view.TreeView
Modifier and TypeMethodDescriptionDefaultTreeView.getSelectedFile()
Gets the selected file.TreeView.getSelectedFile()
Gets the selected the file.Opens a file and retrieves the file structure of the file.Opens a file and retrieves the file structure of the file.DefaultTreeView.reopenFile
(FileFormat fileFormat, int newFileAccessMode) TreeView.reopenFile
(FileFormat theFile, int newFileAccessMode) Reopens a file and retrieves the file structure of the file.Modifier and TypeMethodDescriptionDefaultTreeView.getCurrentFiles()
TreeView.getCurrentFiles()
Get the list of currently open filesModifier and TypeMethodDescriptionvoid
DefaultTreeView.closeFile
(FileFormat file) Close a filevoid
TreeView.closeFile
(FileFormat file) close a fileDefaultTreeView.reopenFile
(FileFormat fileFormat, int newFileAccessMode) TreeView.reopenFile
(FileFormat theFile, int newFileAccessMode) Reopens a file and retrieves the file structure of the file.void
DefaultTreeView.saveFile
(FileFormat file) Save a filevoid
TreeView.saveFile
(FileFormat file) save a file
createFile(String, int)
The replacement method has an additional parameter that controls the behavior if the file already exists.