public abstract class AbstractScanner extends Object implements IScanner
| 限定符和类型 | 字段和说明 |
|---|---|
protected Set<String> |
addedAbsolutePaths
添加的绝对路径
|
protected Set<String> |
addedRelativePaths
添加的相对路径
|
protected Map<String,Set<String>> |
allowManifestAttributes
优先允许jar的manifest属性
|
protected Set<String> |
allowPaths
优先允许的路径
|
protected String |
caller
调用者路径
|
protected Map<String,Set<String>> |
ignoredManifestAttributes
被忽略jar的manifest属性
|
protected Set<String> |
ignoredPaths
忽略的路径
|
| 构造器和说明 |
|---|
AbstractScanner() |
| 限定符和类型 | 方法和说明 |
|---|---|
IScanner |
addAbsolutePath(String... path)
添加绝对路径
|
IScanner |
addRelativePath(String... path)
添加相对路径
|
IScanner |
allow(String... path) |
IScanner |
allowJarByManifestAttribute(String key,
String... value) |
IScanner |
ignore(String... path)
忽略指定路径
|
IScanner |
ignoreJarByManifestAttribute(String key,
String... value)
忽略带有指定manifest属性的jar
|
IScanner |
setCaller(String caller)
设置调用者路径
|
protected String caller
protected Map<String,Set<String>> ignoredManifestAttributes
public IScanner addAbsolutePath(String... path)
IScanneraddAbsolutePath 在接口中 IScannerpath - 绝对路径public IScanner addRelativePath(String... path)
IScanneraddRelativePath 在接口中 IScannerpath - 相对路径public IScanner ignoreJarByManifestAttribute(String key, String... value)
IScannerignoreJarByManifestAttribute 在接口中 IScannerkey - 属性名称value - 属性值Copyright © 2020. All Rights Reserved.