Class FileDataLoader

java.lang.Object
gaiasky.data.orbit.FileDataLoader

public class FileDataLoader extends Object
  • Constructor Details

    • FileDataLoader

      public FileDataLoader()
  • Method Details

    • parseTime

      public long parseTime(String token)
      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

      public PointCloudData load(InputStream data) throws Exception
      Loads the data in the input stream into an OrbitData object.
      Throws:
      Exception
    • parsef

      protected float parsef(String str)
    • parsed

      protected double parsed(String str)
    • parsei

      protected int parsei(String str)