Package gw.lang.gosuc
Class GosucUtil
- java.lang.Object
-
- gw.lang.gosuc.GosucUtil
-
public class GosucUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description GosucUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getClassLocation(String className)
static IDirectory
getDirectoryForPath(String uriPath)
static List<String>
getGosuBootstrapJars()
static List<String>
getGosuBootstrapJars_Java8()
static List<String>
getGosuBootstrapJars_Java9()
protected static List<String>
getIbmClasspath()
Special handling for the unusual structure of the IBM JDK.static List<String>
getJreJars()
Get all JARs from the lib directory of the System's java.home propertystatic String
indent(String in)
static List<String>
makeStringPaths(List<IDirectory> sourcePaths)
static List<IDirectory>
toDirectories(List<String> uriPaths)
static URL
toURL(File file)
-
-
-
Method Detail
-
getDirectoryForPath
public static IDirectory getDirectoryForPath(String uriPath)
-
makeStringPaths
public static List<String> makeStringPaths(List<IDirectory> sourcePaths)
-
toDirectories
public static List<IDirectory> toDirectories(List<String> uriPaths)
-
getJreJars
public static List<String> getJreJars()
Get all JARs from the lib directory of the System's java.home property- Returns:
- List of absolute paths to all JRE libraries
-
getIbmClasspath
protected static List<String> getIbmClasspath()
Special handling for the unusual structure of the IBM JDK.- Returns:
- A list containing the special 'vm.jar' absolute path if we are using an IBM JDK; otherwise an empty list is returned.
-
-