Class ExtInstallerUtils
java.lang.Object
edu.internet2.middleware.grouperInstallerExt.util.ExtInstallerUtils
utility methods for grouper.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassLoaderfast class loaderstatic URLcomputeUrl(String resourceName, boolean canBeNull) compute a url of a resourcestatic FilefileFromResourceName(String resourceName) get a file name from a resource name
-
Constructor Details
-
ExtInstallerUtils
public ExtInstallerUtils()
-
-
Method Details
-
fileFromResourceName
get a file name from a resource name- Parameters:
resourceName- is the classpath location- Returns:
- the file path on the system
-
computeUrl
compute a url of a resource- Parameters:
resourceName-canBeNull- if cant be null, throw runtime- Returns:
- the URL
-
classLoader
fast class loader- Returns:
- the class loader
-