ClassPathScanner.IClassPathFilter
public static interface ClassPathScanner.IClassPathFilter
com.android.tradefed.util.ClassPathScanner.IClassPathFilter |
类路径入口路径的过滤器
在
FileFilter
之后进行图案化
概括
公开方法 |
---|
abstract boolean | accept (String pathName) 测试指定的抽象路径名是否应包含在类路径条目列表中。 |
abstract String | transform (String pathName) 类路径条目路径名的可选转换器。 |
公开方法
接受
public abstract boolean accept (String pathName)
测试指定的抽象路径名是否应包含在类路径条目列表中。
参数 |
---|
pathName | String :类路径条目的相对路径 |
public abstract String transform (String pathName)
类路径条目路径名的可选转换器。
参数 |
---|
pathName | String :类路径条目的相对路径,格式为“ foo / path / file.ext”。 |
退货 |
---|
String | pathName转换为上下文特定格式 |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2019-10-02 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]