public class CheckNexusFileType
extends java.lang.Object
| Constructor and Description |
|---|
CheckNexusFileType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkHDF4(java.io.File file)
Checks to see if a file is a HDF4 file and returns true if it is.
|
boolean |
checkHDF5(java.io.File file)
Checks to see if a file is a HDF5 file and returns true if it is.
|
boolean |
checkNexusFile(java.io.File file)
Checks to see if a file is a HDF/Nexus file and returns true if it is.
|
boolean |
checkNXDLFile(java.io.File file)
Checks to see if a file is a Nexus definition file and returns true if
it is.
|
public boolean checkNexusFile(java.io.File file)
file - the input file to check.java.io.FileNotFoundExceptionjava.io.IOExceptionpublic boolean checkHDF5(java.io.File file)
throws java.io.FileNotFoundException,
java.io.IOException
file - the input file to check.java.io.FileNotFoundExceptionjava.io.IOExceptionpublic boolean checkHDF4(java.io.File file)
throws java.io.FileNotFoundException,
java.io.IOException
file - the input file to check.java.io.FileNotFoundExceptionjava.io.IOExceptionpublic boolean checkNXDLFile(java.io.File file)
file - the input file to check.java.io.FileNotFoundExceptionjava.io.IOException