public class ArchiveHeaderFactory
extends java.lang.Object
ArchiveHeaderFactory
creates archive header
objects using the byte data at the beginning of a NOAA 1b file.Constructor and Description |
---|
ArchiveHeaderFactory() |
Modifier and Type | Method and Description |
---|---|
static ArchiveHeader |
create(java.nio.channels.ByteChannel channel)
Creates a new archive header.
|
public static ArchiveHeader create(java.nio.channels.ByteChannel channel) throws java.io.IOException
channel
- the channel of byte data to read.java.io.IOException
- if an error occurred reading the byte
data.