aboutsummaryrefslogtreecommitdiffstats
path: root/ddms
diff options
context:
space:
mode:
authorTsu Chiang Chuang <tsu@google.com>2012-08-02 15:02:03 -0700
committerBrian Carlstrom <bdc@google.com>2012-08-14 20:02:25 -0700
commit43a583ac2ddf160ef1c76170c228befde45db79f (patch)
tree865b58698eb21d9fcbab39e867a633ffe474a843 /ddms
parent999502e580052ca51b69575b34e77402923bf66d (diff)
downloadsdk-43a583ac2ddf160ef1c76170c228befde45db79f.zip
sdk-43a583ac2ddf160ef1c76170c228befde45db79f.tar.gz
sdk-43a583ac2ddf160ef1c76170c228befde45db79f.tar.bz2
Expose owner and group of FileEntry.
Change-Id: Ib072508c9e00f5ac227bda89b943e217292d9640
Diffstat (limited to 'ddms')
-rw-r--r--ddms/libs/ddmlib/src/com/android/ddmlib/FileListingService.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/ddms/libs/ddmlib/src/com/android/ddmlib/FileListingService.java b/ddms/libs/ddmlib/src/com/android/ddmlib/FileListingService.java
index 8d804d2..d731a4d 100644
--- a/ddms/libs/ddmlib/src/com/android/ddmlib/FileListingService.java
+++ b/ddms/libs/ddmlib/src/com/android/ddmlib/FileListingService.java
@@ -201,6 +201,20 @@ public final class FileListingService {
}
/**
+ * Returns the owner string of the entry, as returned by <code>ls</code>.
+ */
+ public String getOwner() {
+ return owner;
+ }
+
+ /**
+ * Returns the group owner of the entry, as returned by <code>ls</code>.
+ */
+ public String getGroup() {
+ return group;
+ }
+
+ /**
* Returns the extra info for the entry.
* <p/>For a link, it will be a description of the link.
* <p/>For an application apk file it will be the application package as returned