Class DataSourceManager

java.lang.Object
slash.navigation.datasources.DataSourceManager

public class DataSourceManager extends Object
Encapsulates access to the download of the DataSource XMLs.
Author:
Christian Pesch
  • Field Details

    • V1

      public static final String V1
      See Also:
    • DATASOURCES_URI

      public static final String DATASOURCES_URI
      See Also:
    • FORMAT_XML

      public static final String FORMAT_XML
      See Also:
    • INCLUDE_SOURCE_PROPERTY

      public static final String INCLUDE_SOURCE_PROPERTY
      Server backward-compat (RouteConverter 3.3): the server strips <source> from /v1/datasources/<id>.xml by default to keep older JAXB bindings happy. Server-side tools (SnapshotCatalog, UpdateCatalog, MigrateCatalogSources) set the system property rc.includeSource=true so the URL builder appends &includeSource=true and the server returns the full document. See download-tools/SCAN_CLIENT.md → "Server backward-compat".
      See Also:
    • DOT_MAP

      public static final String DOT_MAP
      See Also:
    • DOT_MBTILES

      public static final String DOT_MBTILES
      See Also:
    • DOT_XML

      public static final String DOT_XML
      See Also:
    • DOT_ZIP

      public static final String DOT_ZIP
      See Also:
  • Constructor Details

    • DataSourceManager

      public DataSourceManager(DownloadManager downloadManager)
  • Method Details