public class JarResolver extends AbstractPathResolver
Resolver capable of reading things from a zip/jar file.
Created by covers1624 on 8/4/21.
| Modifier and Type | Field and Description |
|---|---|
protected java.nio.file.FileSystem |
fs |
files, path| Constructor and Description |
|---|
JarResolver(java.nio.file.Path path) |
JarResolver(java.nio.file.Path path,
java.lang.String rootPath) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected java.nio.file.Path |
getRootPath() |
java.lang.String |
toString() |
protected void |
validate() |
getAllClasses, getAllResources, getFiles, getResource, hasResourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindResolver, getClassBytes, hasClasspublic JarResolver(java.nio.file.Path path)
public JarResolver(java.nio.file.Path path,
java.lang.String rootPath)
protected void validate()
validate in class AbstractPathResolverprotected java.nio.file.Path getRootPath()
getRootPath in class AbstractPathResolverpublic void close()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object