| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| protected final String | |
| protected Set | |
| protected final Path | |
| protected final List |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements java. Closes this stream and releases any system resources associated with it. |
| public Set | |
| public void | |
| public ClassModel | getClassFile(String name)
Returns the ClassModel matching the given binary name or a fully-qualified class name. |
| public String | |
| pack-priv static boolean | |
| public static ClassFileReader | |
| public static ClassFileReader | newInstance(FileSystem fs, Path path)
Returns a ClassFileReader instance of a given FileSystem and path. |
| protected ClassModel | |
| protected Set | |
| protected void | |
| public List | |
| public String |
| baseFileName | back to summary |
|---|---|
| protected final String baseFileName | |
| entries | back to summary |
|---|---|
| protected Set<String> entries | |
| path | back to summary |
|---|---|
| protected final Path path | |
| skippedEntries | back to summary |
|---|---|
| protected final List<String> skippedEntries | |
| ClassFileReader | back to summary |
|---|---|
| protected ClassFileReader(Path path) | |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
| |
| entries | back to summary |
|---|---|
| public Set Returns all entries in this archive. | |
| forEachClassFile | back to summary |
|---|---|
| public void forEachClassFile(Consumer<ClassModel> handler) throws IOException | |
| getClassFile | back to summary |
|---|---|
| public ClassModel getClassFile(String name) throws IOException Returns the ClassModel matching the given binary name or a fully-qualified class name. | |
| getFileName | back to summary |
|---|---|
| public String getFileName() | |
| isClass | back to summary |
|---|---|
| pack-priv static boolean isClass(Path file) | |
| newInstance | back to summary |
|---|---|
| public static ClassFileReader newInstance(Path path, Runtime. Returns a ClassFileReader instance of a given path. | |
| newInstance | back to summary |
|---|---|
| public static ClassFileReader newInstance(FileSystem fs, Path path) throws IOException Returns a ClassFileReader instance of a given FileSystem and path. This method is used for reading classes from jrtfs. | |
| readClassFile | back to summary |
|---|---|
| protected ClassModel readClassFile(Path p) throws IOException | |
| scan | back to summary |
|---|---|
| protected Set | |
| skipEntry | back to summary |
|---|---|
| protected void skipEntry(Throwable ex, String entryPath) | |
| skippedEntries | back to summary |
|---|---|
| public List | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Modifier and Type | Field and Description |
|---|---|
| protected final String |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | forEachClassFile(Consumer<ClassModel> handler)
Overrides com.
|
| public ClassModel | getClassFile(String name)
Overrides com. Returns the ClassModel matching the given binary name or a fully-qualified class name. |
| protected Set |
| fsSep | back to summary |
|---|---|
| protected final String fsSep | |
| DirectoryReader | back to summary |
|---|---|
| pack-priv DirectoryReader(Path path) throws IOException | |
| DirectoryReader | back to summary |
|---|---|
| pack-priv DirectoryReader(FileSystem fs, Path path) throws IOException | |
| forEachClassFile | back to summary |
|---|---|
| public void forEachClassFile(Consumer<ClassModel> handler) throws IOException Overrides com.
| |
| getClassFile | back to summary |
|---|---|
| public ClassModel getClassFile(String name) throws IOException Overrides com. Doc from com. Returns the ClassModel matching the given binary name or a fully-qualified class name. | |
| scan | back to summary |
|---|---|
| protected Set Overrides com. | |
| Modifier and Type | Field and Description |
|---|---|
| private final JarFile | |
| private final Runtime. |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Overrides com. Implements java. Closes this stream and releases any system resources associated with it. |
| public void | forEachClassFile(Consumer<ClassModel> handler)
Overrides com.
|
| public ClassModel | getClassFile(String name)
Overrides com. Returns the ClassModel matching the given binary name or a fully-qualified class name. |
| private static boolean | |
| private static JarFile | |
| protected ClassModel | |
| protected Set |
| jarfile | back to summary |
|---|---|
| private final JarFile jarfile | |
| version | back to summary |
|---|---|
| private final Runtime. | |
| JarFileReader | back to summary |
|---|---|
| pack-priv JarFileReader(Path path, Runtime. | |
| JarFileReader | back to summary |
|---|---|
| pack-priv JarFileReader(Path path, JarFile jf, Runtime. | |
| close | back to summary |
|---|---|
| public void close() throws IOException Overrides com. Implements java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
| |
| forEachClassFile | back to summary |
|---|---|
| public void forEachClassFile(Consumer<ClassModel> handler) throws IOException Overrides com.
| |
| getClassFile | back to summary |
|---|---|
| public ClassModel getClassFile(String name) throws IOException Overrides com. Doc from com. Returns the ClassModel matching the given binary name or a fully-qualified class name. | |
| isJarEntryClass | back to summary |
|---|---|
| private static boolean isJarEntryClass(JarEntry e) | |
| openJarFile | back to summary |
|---|---|
| private static JarFile openJarFile(File f, Runtime. | |
| readClassFile | back to summary |
|---|---|
| protected ClassModel readClassFile(JarFile jarfile, JarEntry e) throws IOException | |
| scan | back to summary |
|---|---|
| protected Set Overrides com. | |