aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2012-11-26 17:08:12 -0800
committerGerrit Code Review <noreply-gerritcodereview@google.com>2012-11-26 17:08:12 -0800
commit78e62c876c1f50715c8feb112aaddcd511009f7c (patch)
tree5b91c98930068f6f42a6ea5cd471d4aa0393178e
parent66ea266d64c6710a03a4531ebdf486037844bfcc (diff)
parentbe657ce5a4f908ba0a69e8037c8e511eaa2dd52b (diff)
downloadsdk-78e62c876c1f50715c8feb112aaddcd511009f7c.zip
sdk-78e62c876c1f50715c8feb112aaddcd511009f7c.tar.gz
sdk-78e62c876c1f50715c8feb112aaddcd511009f7c.tar.bz2
Merge "Add getter for location of project property file."
-rw-r--r--sdkmanager/libs/sdklib/src/com/android/sdklib/internal/project/ProjectProperties.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/project/ProjectProperties.java b/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/project/ProjectProperties.java
index 301fb29..ef931ee 100644
--- a/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/project/ProjectProperties.java
+++ b/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/project/ProjectProperties.java
@@ -349,6 +349,13 @@ public class ProjectProperties implements IPropertySource {
}
/**
+ * Returns the location of this property file.
+ */
+ public IAbstractFile getFile() {
+ return mProjectFolder.getFile(mType.mFilename);
+ }
+
+ /**
* Creates and returns a copy of the current properties as a
* {@link ProjectPropertiesWorkingCopy} that can be modified and saved.
* @return a new instance of {@link ProjectPropertiesWorkingCopy}