Class UrlInput

All Implemented Interfaces:
Input

public class UrlInput extends BaseInput<UrlInput> implements Input
Input implementation which allows String to specify input location.
  • Constructor Details

    • UrlInput

      protected UrlInput(String input)
      Creates UrlInput.
      Parameters:
      input - input location
  • Method Details

    • fromUrl

      public static UrlInput fromUrl(String input)
      Creates UrlInput.
      Parameters:
      input - input location: path on filesystem, URL, etc
      Returns:
      UrlInput
    • fromPath

      public static UrlInput fromPath(Path path)
      Creates UrlInput.
      Parameters:
      path - input location: path on filesystem
      Returns:
      UrlInput