org.orekit.forces.gravity.tides.coefficients
Class FES2004FormatReader
java.lang.Object
org.orekit.forces.gravity.tides.coefficients.OceanTidesCoefficientsReader
org.orekit.forces.gravity.tides.coefficients.FES2004FormatReader
- All Implemented Interfaces:
- DataLoader, OceanTidesCoefficientsProvider
public class FES2004FormatReader
- extends OceanTidesCoefficientsReader
Reader for FES2004 formats.
The proper way to use this it to call the getCoefficientProvider
method. Indeed, the OceanTidesCoefficientsFactory
will determine the best reader to
use, depending on file available in the file system.
- Since:
- 1.2
- Version:
- $Id: FES2004FormatReader.java 7966 2013-03-04 17:23:33Z CardosoP $
- Author:
- Rami Houdroge
- See Also:
OceanTidesCoefficientsReader
- 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 |
FES2004FormatReader
public FES2004FormatReader(String supportedNames)
- Constructor
- Parameters:
supportedNames
- regular expression for supported files names
loadData
public void loadData(InputStream input,
String name)
throws IOException,
ParseException,
OrekitException
- Load data from a stream.
- Specified by:
loadData
in interface DataLoader
- Specified by:
loadData
in class OceanTidesCoefficientsReader
- 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 © 2016 CNES. All Rights Reserved.