public class JarClassFileInput extends java.lang.Object implements ClassFileInput
| Modifier and Type | Class and Description |
|---|---|
static class |
JarClassFileInput.JarClassFileInputsException
If we are unable to read .class files from the input.
|
static class |
JarClassFileInput.NoCacheClassJarEntry |
classMatcher| Constructor and Description |
|---|
JarClassFileInput(java.nio.file.Path rootPath) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static ClassFileEntry |
createEntryFromEntry(com.android.apkzlib.zip.StoredEntry storedEntry) |
java.util.stream.Stream<ClassFileEntry> |
entries(java.util.function.Predicate<java.nio.file.Path> filter) |
java.nio.file.Path |
getRootPath()
Base path of this input.
|
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOException@NonNull public java.nio.file.Path getRootPath()
ClassFileInputgetRootPath in interface ClassFileInput@NonNull public java.util.stream.Stream<ClassFileEntry> entries(java.util.function.Predicate<java.nio.file.Path> filter)
entries in interface ClassFileInputStream for all the entries that satisfies the passed filter.@NonNull public static ClassFileEntry createEntryFromEntry(@NonNull com.android.apkzlib.zip.StoredEntry storedEntry)