Class Updater

All Implemented Interfaces:
AutoCloseable

final class Updater extends RewriteOnUpdate
Updates the content of a GPX file by rewriting it.
Since:
1.3
Version:
1.3
  • Field Details

    • metadata

      private Metadata metadata
      The metadata to write.
  • Constructor Details

    • Updater

      Updater(WritableStore source, Path location) throws IOException
      Creates an updater for the given source of features.
      Parameters:
      source - the set of features to update.
      location - the main file, or null if unknown.
      Throws:
      IOException - if an error occurred while determining whether the file is empty.
  • Method Details