|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EphemerisTableReader
A reader that can create or fill an ephemeris table from data in a file.
CVS Info:
$Revision: 161 $ |
$Date: 2006-12-15 11:48:34 -0700 (Fri, 15 Dec 2006) $ |
$Author: btruitt $ |
Method Summary | |
---|---|
EphemerisTable |
read(InputStream in)
Creates an ephemeris table from the data found in the given input stream. |
EphemerisTable |
read(InputStream in,
EphemerisTable destination)
Appends the data found in the given stream to destination and
returns it. |
EphemerisTable |
read(String fileName)
Creates an ephemeris table from the data found in the given file. |
EphemerisTable |
read(String fileName,
EphemerisTable destination)
Appends the data found in the given file to destination and
returns it. |
Method Detail |
---|
EphemerisTable read(String fileName) throws IOException
fileName
- the name of the file that has the ephemeris data.
IOException
- if anything does wrong while reading the file.EphemerisTable read(String fileName, EphemerisTable destination) throws IOException
destination
and
returns it.
If destination
is null, a new table is created, filled,
and returned.
fileName
- the name of the file that has the ephemeris data.
destination
, or a new table if destination is null,
with the data from fileName
appended to it.
IOException
- if anything does wrong while reading the file.EphemerisTable read(InputStream in) throws IOException
in
- a stream that contains ephemeris data.
IOException
- if anything does wrong while reading the stream.EphemerisTable read(InputStream in, EphemerisTable destination) throws IOException
destination
and
returns it.
If destination
is null, a new table is created, filled,
and returned.
in
- a stream that contains ephemeris data.
destination
, or a new table if destination is null,
with the data from in
appended to it.
IOException
- if anything does wrong while reading the file.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |