Package gaiasky.data.orbit
Class FileDataLoader
java.lang.Object
gaiasky.data.orbit.FileDataLoader
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionload
(InputStream data) Loads the data in the input stream into an OrbitData object.protected double
protected float
protected int
long
Parses the given time and returns the number of milliseconds from the epoch of 1970-01-01T00:00:00Z.
-
Constructor Details
-
FileDataLoader
public FileDataLoader()
-
-
Method Details
-
parseTime
Parses the given time and returns the number of milliseconds from the epoch of 1970-01-01T00:00:00Z.- Parameters:
token
- The token to parse.- Returns:
- time as milliseconds from the epoch of 1970-01-01T00:00:00Z
-
load
Loads the data in the input stream into an OrbitData object.- Throws:
Exception
-
parsef
-
parsed
-
parsei
-