ClasspathLauncherUtil

public class ClasspathLauncherUtil
extends Object

java.lang.Object
com.google.android.tradefed.util.ClasspathLauncherUtil


テストの起動に関連するメソッドのヘルパークラス。

概要

パブリック コンストラクタ

ClasspathLauncherUtil()

パブリック メソッド

static List<File> getJars(File workingDir, List<String> excludedPatterns)

クラスパスに含めるすべての jar を一覧表示します。

static boolean matchExcludedFilesInClasspath(List<String> excludedPatterns, String fileName)

指定されたファイル名が、クラスパスから除外するファイルと一致する場合は true を返します。

パブリック コンストラクタ

ClasspathLauncherUtil

public ClasspathLauncherUtil ()

パブリック メソッド

getJars

public static List<File> getJars (File workingDir, 
                List<String> excludedPatterns)

クラスパスに含めるすべての jar を一覧表示します。

パラメータ
workingDir File: jar を検索するディレクトリ

excludedPatterns List: クラスパスから除外する jar のパターン

戻り値
List<File> クラスパスに含めるすべてのファイルのリスト

例外
java.io.IOException
IOException

matchExcludedFilesInClasspath

public static boolean matchExcludedFilesInClasspath (List<String> excludedPatterns, 
                String fileName)

指定されたファイル名が、クラスパスから除外するファイルと一致する場合は true を返します。

パラメータ
excludedPatterns List

fileName String

戻り値
boolean