Class SealsDownloadHelper

java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_data.SealsDownloadHelper

public class SealsDownloadHelper extends Object
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
      Default logger
    • HAS_SUITE_ITEM

      private static final String HAS_SUITE_ITEM
      See Also:
    • IDENTIFIER

      private static final String IDENTIFIER
      See Also:
    • testDataRepositoryUrl

      private String testDataRepositoryUrl
    • persistentRepositoryUrl

      private String persistentRepositoryUrl
    • testDataCollectionName

      private String testDataCollectionName
    • testDataVersionNumber

      private String testDataVersionNumber
  • Constructor Details

    • SealsDownloadHelper

      public SealsDownloadHelper(String testDataRepositoryUrl, String testDataCollectionName, String testDataVersionNumber)
  • Method Details

    • getTestCases

      public List<String> getTestCases()
    • getDataItem

      public URL getDataItem(String testCaseId, TestCaseType componentType)
    • encode

      private static String encode(String stringToEncode)
      Create an URL encoding for the given String.
      Parameters:
      stringToEncode - String to be encoded.
      Returns:
      Encoded String.
    • createLocation

      private static String createLocation(String originalUrl, String... parts)