IFileEntry
public interface IFileEntry
com.android.tradefed.device.IFileEntry |
FileEntry
메서드에 더 간단하고 조롱 가능한 계약을 제공하는 인터페이스 정의입니다.
요약
공개 방법 | |
---|---|
abstract IFileEntry | findChild (String name) 주어진 이름을 가진 자식 |
abstract | getChildren (boolean useCache) |
abstract String | getDate () |
abstract FileListingService.FileEntry | getFileEntry () ddmlib |
abstract String | getFullEscapedPath () |
abstract String | getFullPath () |
abstract String | getName () |
abstract String | getPermissions () |
abstract String | getTime () |
abstract boolean | isAppFileName () |
abstract boolean | isDirectory () |
공개 방법
findChild
public abstract IFileEntry findChild (String name)
주어진 이름을 가진 자식 IFileEntry
찾습니다.
FileEntry#findChild(String)
에 대한 래퍼는 캐시된 자식에서 지정된 이름을 가진 파일을 먼저 검색하고, 찾지 못한 경우 캐시된 자식 파일 목록을 새로 고치고 다시 시도합니다.매개변수 | |
---|---|
name | String |
보고 | |
---|---|
IFileEntry |
던지기 | |
---|---|
| com.android.tradefed.device.DeviceNotAvailableException |
DeviceNotAvailableException |
getChildren
public abstractgetChildren (boolean useCache)
IFileEntry
의 자식을 반환합니다.
FileListingService#getChildren(FileEntry, boolean, FileListingService.IListingReceiver)
에 대한 동기 래퍼매개변수 | |
---|---|
useCache | boolean : 캐시된 하위 항목이 있는 경우 반환되어야 하는 경우 true . 새 ls 명령을 강제 실행해야 하는 경우 false . |
보고 | |
---|---|
하위 파일 목록 |
던지기 | |
---|---|
| com.android.tradefed.device.DeviceNotAvailableException |
DeviceNotAvailableException |
getFileEntry
public abstract FileListingService.FileEntry getFileEntry ()
ddmlib FileEntry
에 대한 참조를 반환합니다.
보고 | |
---|---|
FileListingService.FileEntry |
getFullEscapedPath
public abstract String getFullEscapedPath ()
FileEntry#getFullEscapedPath()
의 래퍼.
보고 | |
---|---|
String |