public class InputStreamClasspath extends AbstractClasspath
| 构造器和说明 |
|---|
InputStreamClasspath(String desc,
InputStream inputStream) |
| 限定符和类型 | 方法和说明 |
|---|---|
Set<Location> |
allResources() |
Resource |
findResource(String relativePath)
Returns the uniform resource locator (URL) of the class file
with the specified name.
|
Location |
getRoot()
root 位置,如果 root 是 null, 则为无root资源
|
findClassFile, scanClassFiles, scanResourceLocations, scanResourcespublic InputStreamClasspath(String desc, InputStream inputStream)
public Resource findResource(String relativePath)
ClasspathrelativePath - your resource locationpublic Location getRoot()
Classpathpublic Set<Location> allResources()
allResources 在接口中 ClasspathScannerallResources 在类中 AbstractClasspathCopyright © 2021. All rights reserved.