org.orekit.models.earth
Class COFFileFormatReader
java.lang.Object
org.orekit.models.earth.GeoMagneticModelReader
org.orekit.models.earth.COFFileFormatReader
- All Implemented Interfaces:
- DataLoader, GeoMagneticDataProvider
public final class COFFileFormatReader
- extends GeoMagneticModelReader
Reader for COF file formats for geomagnetic models.
- Since:
- 2.1
- Version:
- $Id: COFFileFormatReader.java 17602 2017-05-18 08:25:23Z bignon $
- Author:
- Tiziana Sabatini
- See Also:
GeoMagneticModelReader
- Concurrency :
- not thread-safe
- Concurrency comment :
- instance is mutable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COFFileFormatReader
public COFFileFormatReader(String supportedNames)
- Constructor.
- Parameters:
supportedNames
- regular expression for supported files names
loadData
public void loadData(InputStream input,
String name)
throws IOException,
ParseException,
OrekitException
- Description copied from class:
GeoMagneticModelReader
- Load data from a stream.
- Specified by:
loadData
in interface DataLoader
- Specified by:
loadData
in class GeoMagneticModelReader
- Parameters:
input
- data input streamname
- name of the file (or zip entry)
- Throws:
IOException
- if data can't be read
ParseException
- if data can't be parsed
OrekitException
- if some data is missing
or if some loader specific error occurs
Copyright © 2017 CNES. All Rights Reserved.