Package gw.lang.gosuc

Class GosucUtil

java.lang.Object
gw.lang.gosuc.GosucUtil

public class GosucUtil extends Object
  • Constructor Details

    • GosucUtil

      public GosucUtil()
  • Method Details

    • indent

      public static String indent(String in)
    • getDirectoryForPath

      public static IDirectory getDirectoryForPath(String uriPath)
    • makeStringPaths

      public static List<String> makeStringPaths(List<IDirectory> sourcePaths)
    • toURL

      public static URL toURL(File file)
    • 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.
    • getGosuBootstrapJars

      public static List<String> getGosuBootstrapJars()
    • getGosuBootstrapJars_Java8

      public static List<String> getGosuBootstrapJars_Java8()
    • getGosuBootstrapJars_Java9

      public static List<String> getGosuBootstrapJars_Java9()
    • getClassLocation

      public static String getClassLocation(String className)