Class Utility

java.lang.Object
gov.nasa.pds.validate.util.Utility

public class Utility
extends Object
Utility class.
Author:
mcayanan
  • Constructor Details

    • Utility

      public Utility()
  • Method Details

    • removeQuotes

      public static List<String> removeQuotes​(List<Object> list)
      Removes quotes within a list of strings.
      Parameters:
      list - A list of strings.
      Returns:
      A list with the quotes removed.
    • toStringNoBraces

      public static String toStringNoBraces​(com.google.gson.JsonObject json)
    • toURL

      public static URL toURL​(String target) throws MalformedURLException
      Throws:
      MalformedURLException
    • toTarget

      public static Target toTarget​(URL target)