aboutsummaryrefslogtreecommitdiffstats
path: root/ddms/libs
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2012-08-23 12:29:58 -0700
committerandroid code review <noreply-gerritcodereview@google.com>2012-08-23 12:29:58 -0700
commit1933bff778c986e4de21efcad3a041db61836efa (patch)
tree13e492b3775c40beeaa17ebc95f75ed8427c7438 /ddms/libs
parent8f66190a05b17fb1183678ca5ffdfc4e1015b297 (diff)
parent43a583ac2ddf160ef1c76170c228befde45db79f (diff)
downloadsdk-1933bff778c986e4de21efcad3a041db61836efa.zip
sdk-1933bff778c986e4de21efcad3a041db61836efa.tar.gz
sdk-1933bff778c986e4de21efcad3a041db61836efa.tar.bz2
Merge "Expose owner and group of FileEntry."
Diffstat (limited to 'ddms/libs')
-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