public interface ClassFileInput
extends java.io.Closeable
When using instances of ClassFileInput make sure that you invoke Closeable.close()
after you are done using it.
| Modifier and Type | Field and Description |
|---|---|
static java.nio.file.PathMatcher |
classMatcher |
| Modifier and Type | Method and Description |
|---|---|
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.
|
@NonNull java.nio.file.Path getRootPath()
java.util.stream.Stream<ClassFileEntry> entries(java.util.function.Predicate<java.nio.file.Path> filter) throws java.io.IOException
filterPaths - filter specify which files should be part of the class inputStream for all the entries that satisfies the passed filter.java.io.IOException - if the jar/directory cannot be read correctly.