Package noaa.coastwatch.io.noaa1b
Class DataHeaderFactory
java.lang.Object
noaa.coastwatch.io.noaa1b.DataHeaderFactory
The
DataHeaderFactory
creates data header
objects using the byte data at the beginning of a NOAA 1b file.- Since:
- 3.2.2
- Author:
- Peter Hollemans
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DataHeader
create
(ByteChannel channel, boolean isByteSwapped) Creates a new data header.
-
Constructor Details
-
DataHeaderFactory
public DataHeaderFactory()
-
-
Method Details
-
create
Creates a new data header.- Parameters:
channel
- the channel of byte data to read.isByteSwapped
- the byte swapped flag, true if the data is in little endian byte order.- Returns:
- a data header object, or null of no header could be found that is appropriate for the data.
- Throws:
IOException
- if an error occurred reading the byte data.
-