Class LddUrlUtils

java.lang.Object
gov.nasa.pds.registry.common.es.service.LddUrlUtils

public class LddUrlUtils extends Object
Utility methods for resolving LDD download URLs.
  • Method Details

    • toPdsNasaGovUrl

      public static String toPdsNasaGovUrl(String url)
      Build the pds.nasa.gov mirror URL by replacing the host. Returns null if the URL is already from pds.nasa.gov or cannot be parsed.