Class VsUtils

java.lang.Object
org.projecthusky.valueset.utils.VsUtils

public class VsUtils extends Object
  • Constructor Details

    • VsUtils

      public VsUtils()
  • Method Details

    • downloadAsString

      public static String downloadAsString(URL url) throws IOException
      Method to download as a string
      Parameters:
      url - the url to download form
      Returns:
      the string of the downloaded content
      Throws:
      IOException - occures on errors during download
    • downloadAsByteArray

      public static byte[] downloadAsByteArray(URL url) throws IOException
      Method to download as a byte array
      Parameters:
      url - the url to download form
      Returns:
      the byte array of the downloaded content
      Throws:
      IOException - occures on errors during download