Class ArchiveHeaderFactory

java.lang.Object
noaa.coastwatch.io.noaa1b.ArchiveHeaderFactory

public class ArchiveHeaderFactory extends Object
The ArchiveHeaderFactory creates archive header objects using the byte data at the beginning of a NOAA 1b file.
Since:
3.2.2
Author:
Peter Hollemans
  • Constructor Details

    • ArchiveHeaderFactory

      public ArchiveHeaderFactory()
  • Method Details

    • create

      public static ArchiveHeader create(ByteChannel channel) throws IOException
      Creates a new archive header.
      Parameters:
      channel - the channel of byte data to read.
      Returns:
      an archive 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.