| Package | Description |
|---|---|
| sun.tools.java | |
| sun.tools.javac |
| Modifier and Type | Method and Description |
|---|---|
ClassFile |
Package.getBinaryFile(Identifier className)
Get the .class file of a class
|
ClassFile |
ClassPath.getDirectory(String name)
Find the specified directory in the class path
|
ClassFile |
ClassPath.getFile(String name)
Load the specified file from the class path
|
ClassFile |
Package.getSourceFile(Identifier className)
Get the .java file of a class
|
ClassFile |
Package.getSourceFile(String fileName) |
static ClassFile |
ClassFile.newClassFile(File file)
Factory method to create a ClassFile backed by a File.
|
static ClassFile |
ClassFile.newClassFile(java.nio.file.Path path)
Factory method to create a ClassFile backed by a nio Path.
|
static ClassFile |
ClassFile.newClassFile(ZipFile zf,
ZipEntry ze)
Factory method to create a ClassFile backed by a ZipEntry.
|
| Modifier and Type | Method and Description |
|---|---|
Enumeration<ClassFile> |
Package.getBinaryFiles() |
Enumeration<ClassFile> |
ClassPath.getFiles(String pkg,
String ext)
Returns list of files given a package name and extension.
|
Enumeration<ClassFile> |
Package.getSourceFiles() |
| Modifier and Type | Method and Description |
|---|---|
void |
BatchEnvironment.parseFile(ClassFile file)
Deprecated.
Parse a source file
|
Copyright © 2017. All Rights Reserved.