to top
public static class

ClassPathScanner.ClassNameFilter

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

Class Overview

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.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.android.tradefed.util.ClassPathScanner.IClassPathFilter

Public Constructors

public ClassPathScanner.ClassNameFilter ()

Public Methods

public boolean accept (String pathName)

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

Parameters
pathName the relative path of the class path entry

public String transform (String pathName)

An optional converter for a class path entry path names.

Parameters
pathName the relative path of the class path entry, in format "foo/path/file.ext".
Returns
  • the pathName converted into context specific format