Class JrtFileSystem
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.util.JrtFileSystem
-
Method Summary
Modifier and TypeMethodDescriptiongetClassfile(String fileName, String module) getClassfile(String fileName, String module, Predicate<String> moduleNameFilter) getContentFromJrt(String fileName, String module) String[]getModules(String fileName) getModulesDeclaringPackage(String qualifiedPackageName, String moduleName) static JrtFileSystemgetNewJrtFileSystem(org.aspectj.org.eclipse.jdt.internal.compiler.util.Jdk jdk, String release) booleanhasClassFile(String qualifiedPackageName, String module)
-
Method Details
-
getNewJrtFileSystem
public static JrtFileSystem getNewJrtFileSystem(org.aspectj.org.eclipse.jdt.internal.compiler.util.Jdk jdk, String release) throws IOException - Throws:
IOException
-
getModulesDeclaringPackage
-
getModules
-
hasClassFile
-
getContentFromJrt
- Throws:
IOException
-
getClassfile
public ClassFileReader getClassfile(String fileName, String module, Predicate<String> moduleNameFilter) throws IOException, ClassFormatException - Throws:
IOExceptionClassFormatException
-
getClassfile
public ClassFileReader getClassfile(String fileName, String module) throws IOException, ClassFormatException - Throws:
IOExceptionClassFormatException
-
getJdkRelease
- Returns:
- JDK release string (something like
1.8.0_05) read from the "release" file from JDK home directory
-