ClassPathScanner.ClassNameFilter

public static class ClassPathScanner.ClassNameFilter
extends Object implements ClassPathScanner.IClassPathFilter

java.lang.Object
   ↳ com.android.tradefed.util.ClassPathScanner.ClassNameFilter
Known Direct Subclasses


A ClassPathScanner.IClassPathFilter that filters and transforms java class names.

Summary

Public constructors

ClassPathScanner.ClassNameFilter()

Public methods

boolean accept(String pathName)

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

String transform(String pathName)

An optional converter for a class path entry path names.

Public constructors

ClassPathScanner.ClassNameFilter

ClassPathScanner.ClassNameFilter ()

Public methods

accept

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

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