FileEntryWrapper
class
FileEntryWrapper
extends Object
implements
IFileEntry
java.lang.Object | |
↳ | com.android.tradefed.device.FileEntryWrapper |
Implementation of a IFileEntry
.
Summary
Public methods | |
---|---|
IFileEntry
|
findChild(String name)
Finds a child |
Collection<IFileEntry>
|
getChildren(boolean useCache)
Returns the children of a |
String
|
getDate()
Wrapper for |
FileListingService.FileEntry
|
getFileEntry()
Return reference to the ddmlib |
String
|
getFullEscapedPath()
Wrapper for |
String
|
getFullPath()
Wrapper for |
String
|
getName()
Wrapper for |
String
|
getPermissions()
Wrapper for |
String
|
getTime()
Wrapper for |
boolean
|
isAppFileName()
Wrapper for |
boolean
|
isDirectory()
Wrapper for |
Public methods
findChild
public IFileEntry findChild (String name)
Finds a child IFileEntry
with given name.
FileListingService.FileEntry.findChild(String)
that
will also first search the cached children for file with given name, and if not found,
refresh the cached child file list and attempt again.
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
IFileEntry |
Throws | |
---|---|
DeviceNotAvailableException |
getChildren
public Collection<IFileEntry> getChildren (boolean useCache)
Returns the children of a IFileEntry
.
FileListingService.getChildren(FileEntry, boolean, FileListingService.IListingReceiver)
Parameters | |
---|---|
useCache |
boolean : true if the cached children should be returned if available.
false if a new ls command should be forced. |
Returns | |
---|---|
Collection<IFileEntry> |
list of sub files |
Throws | |
---|---|
DeviceNotAvailableException |
getFileEntry
public FileListingService.FileEntry getFileEntry ()
Return reference to the ddmlib FileListingService.FileEntry
.
Returns | |
---|---|
FileListingService.FileEntry |
getFullEscapedPath
public String getFullEscapedPath ()
Wrapper for FileListingService.FileEntry.getFullEscapedPath()
.
Returns | |
---|---|
String |
getFullPath
public String getFullPath ()
Wrapper for FileListingService.FileEntry.getFullPath()
.
Returns | |
---|---|
String |
getPermissions
public String getPermissions ()
Wrapper for FileListingService.FileEntry.getPermissions()
.
Returns | |
---|---|
String |
isAppFileName
public boolean isAppFileName ()
Wrapper for FileListingService.FileEntry.isAppFileName()
.
Returns | |
---|---|
boolean |
isDirectory
public boolean isDirectory ()
Wrapper for FileListingService.FileEntry.isDirectory()
.
Returns | |
---|---|
boolean |
Interfaces
- IAndroidDebugBridge
- IBatteryTemperature
- IDeviceManager
- IDeviceManager.IFastbootListener
- IDeviceMonitor
- IDeviceRecovery
- IDeviceSelection
- IDeviceStateMonitor
- IFileEntry
- ILogcatReceiver
- IManagedTestDevice
- IManagedTestDeviceFactory
- IMultiDeviceRecovery
- INativeDevice
- ITestDevice
- ITestDeviceMutator
- IWifiHelper
- NativeDevice.DeviceAction
Classes
- AndroidDebugBridgeWrapper
- BackgroundDeviceAction
- BatteryTemperature
- BatteryTemperature.DumpsysBatteryTemperatureReceiver
- CollectingByteOutputReceiver
- CollectingOutputReceiver
- CpuStatsCollector
- CpuStatsCollector.CpuStats
- CpuStatsCollector.CpuStatsReceiver
- DeviceDiagTest
- DeviceManager
- DeviceManager.FastbootDevice
- DeviceMonitorMultiplexer
- DeviceProperties
- DeviceSelectionOptions
- DeviceStateMonitor
- DeviceUtilStatsMonitor
- DeviceUtilStatsMonitor.UtilizationDesc
- DumpsysPackageReceiver
- FastbootHelper
- FileEntryWrapper
- IDeviceMonitor.DeviceLister
- IManagedTestDevice.DeviceEventResponse
- ITestDevice.MountPointInfo
- LargeOutputReceiver
- LogcatReceiver
- ManagedDeviceList
- ManagedTestDeviceFactory
- NativeDevice
- NativeDevice.AdbAction
- NativeDevice.AdbShellAction
- NativeDeviceStateMonitor
- NullDevice
- PackageInfo
- ReconnectingRecovery
- RemoteAndroidDevice
- RetryingWaitDeviceRecovery
- StubDevice
- TcpDevice
- TestDevice
- TestDeviceMutator
- TestDeviceOptions
- TopHelper
- TopHelper.TopReceiver
- TopHelper.TopStats
- WaitDeviceRecovery
- WifiHelper
Enums
Exceptions