Package org.apache.tika.parser.netcdf
Class NetcdfReaders
java.lang.Object
org.apache.tika.parser.netcdf.NetcdfReaders
Opens a file with the netcdf-java reader for its format, chosen from the file's signature.
A parser passes the readers for the formats it reads; any other file is refused.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ucar.nc2.NetcdfFilestatic ucar.nc2.NetcdfFileopenInMemory(byte[] data, String... allowed)
-
Field Details
-
NETCDF3
- See Also:
-
HDF5
- See Also:
-
HDF4
- See Also:
-
GRIB1
- See Also:
-
GRIB2
- See Also:
-
-
Method Details
-
open
public static ucar.nc2.NetcdfFile open(Path file, String... allowed) throws IOException, TikaException - Throws:
IOExceptionTikaException
-
openInMemory
public static ucar.nc2.NetcdfFile openInMemory(byte[] data, String... allowed) throws IOException, TikaException - Throws:
IOExceptionTikaException
-