Package com.google.turbine.binder
Class JimageClassBinder
- java.lang.Object
-
- com.google.turbine.binder.JimageClassBinder
-
public class JimageClassBinder extends java.lang.ObjectConstructs a platformClassPathfrom the current JDK's jimage file using jrtfs.
-
-
Constructor Summary
Constructors Constructor Description JimageClassBinder(com.google.common.collect.ImmutableMultimap<java.lang.String,java.lang.String> packageMap, java.nio.file.Path modules)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClassPathbind(java.lang.String javaHome)Returns a platform classpath for the given JDK's jimage file.static ClassPathbindDefault()Returns a platform classpath for the host JDK's jimage file.
-
-
-
Method Detail
-
bindDefault
public static ClassPath bindDefault() throws java.io.IOException
Returns a platform classpath for the host JDK's jimage file.- Throws:
java.io.IOException
-
bind
public static ClassPath bind(java.lang.String javaHome) throws java.io.IOException
Returns a platform classpath for the given JDK's jimage file.- Throws:
java.io.IOException
-
-