Class Live

java.lang.Object
org.spdx.crossref.Live
All Implemented Interfaces:
Callable<Boolean>

public class Live extends Object implements Callable<Boolean>
Determines whether the url is live or not
Author:
Smith Tanjong
  • Constructor Details

    • Live

      public Live(String url)
      Parameters:
      url - the url in string form
  • Method Details

    • urlLinkExists

      public static boolean urlLinkExists(String URLName)
      Parameters:
      URLName - the url in string form
      Returns:
      true/false if the url is live or not
    • call

      public Boolean call() throws Exception
      Specified by:
      call in interface Callable<Boolean>
      Throws:
      Exception