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