Class BinaryStreamReaderFactory

java.lang.Object
noaa.coastwatch.io.BinaryStreamReaderFactory

public class BinaryStreamReaderFactory extends Object
The BinaryStreamReaderFactory class handles efficient storage and retrieval of stream readers for specific classes.
Since:
3.2.2
Author:
Peter Hollemans
  • Constructor Details

    • BinaryStreamReaderFactory

      public BinaryStreamReaderFactory()
  • Method Details

    • getReader

      public static BinaryStreamReader getReader(Class readerClass)
      Retrieves a stream reader for the specified class.
      Parameters:
      readerClass - the reader class to get a stream.
      Returns:
      the stream reader.
      Throws:
      RuntimeException - if no stream XML template could be found for the specified class.