org.orekit.models.earth
Class COFFileFormatReader

java.lang.Object
  extended by org.orekit.models.earth.GeoMagneticModelReader
      extended by 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

Constructor Summary
COFFileFormatReader(String supportedNames)
          Constructor.
 
Method Summary
 void loadData(InputStream input, String name)
          Load data from a stream.
 
Methods inherited from class org.orekit.models.earth.GeoMagneticModelReader
add, getModels, getSupportedNames, stillAcceptsData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

COFFileFormatReader

public COFFileFormatReader(String supportedNames)
Constructor.

Parameters:
supportedNames - regular expression for supported files names
Method Detail

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 stream
name - 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.