Class ExtInstallerUtils

java.lang.Object
edu.internet2.middleware.grouperInstallerExt.util.ExtInstallerUtils

public class ExtInstallerUtils extends Object
utility methods for grouper.
  • Constructor Details

    • ExtInstallerUtils

      public ExtInstallerUtils()
  • Method Details

    • fileFromResourceName

      public static File fileFromResourceName(String resourceName)
      get a file name from a resource name
      Parameters:
      resourceName - is the classpath location
      Returns:
      the file path on the system
    • computeUrl

      public static URL computeUrl(String resourceName, boolean canBeNull)
      compute a url of a resource
      Parameters:
      resourceName -
      canBeNull - if cant be null, throw runtime
      Returns:
      the URL
    • classLoader

      public static ClassLoader classLoader()
      fast class loader
      Returns:
      the class loader