Google 致力于为黑人社区推动种族平等。查看具体举措

ClassPathScanner.IClassPathFilter

public static interface ClassPathScanner.IClassPathFilter

com.android.tradefed.util.ClassPathScanner.IClassPathFilter


A filter for classpath entry paths

Patterned after FileFilter

Summary

Public methods

abstract boolean accept(String pathName)

Tests whether or not the specified abstract pathname should be included in a class path entry list.

abstract String transform(String pathName)

An optional converter for a class path entry path names.

Public methods

accept

public abstract boolean accept (String pathName)

Tests whether or not the specified abstract pathname should be included in a class path entry list.

Parameters
pathName String: the relative path of the class path entry

Returns
boolean

transform

public abstract String transform (String pathName)

An optional converter for a class path entry path names.

Parameters
pathName String: the relative path of the class path entry, in format "foo/path/file.ext".

Returns
String the pathName converted into context specific format