Package noaa.coastwatch.io
Class BinaryStreamReaderFactory
java.lang.Object
noaa.coastwatch.io.BinaryStreamReaderFactory
The
BinaryStreamReaderFactory
class handles
efficient storage and retrieval of stream readers for specific
classes.- Since:
- 3.2.2
- Author:
- Peter Hollemans
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BinaryStreamReader
Retrieves a stream reader for the specified class.
-
Constructor Details
-
BinaryStreamReaderFactory
public BinaryStreamReaderFactory()
-
-
Method Details
-
getReader
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.
-