diff options
author | 2016-05-04 15:30:34 +0000 | |
---|---|---|
committer | 2016-05-04 18:31:53 +0000 | |
commit | 54fc221026b9dafec6aa0e65ce01aa90d3be2747 (patch) | |
tree | 20c648e93e21fd78fee485ed2f97a0ef9fd8b566 /src/tools/android/java/com/google/devtools/build/android/AndroidDataWritingVisitor.java | |
parent | 36c1d154847bc597974d205be3bb7eb6cb6dd393 (diff) |
4.9 of 5: Writer fixes for integration.
* Uses the png cruncher for crunching pngs.
* Respects qualifiers when generating the values/values.xml.
* Improvements to testability.
* Standardizes on throwing merging exceptions instead of random IOExceptions.
--
MOS_MIGRATED_REVID=121483439
Diffstat (limited to 'src/tools/android/java/com/google/devtools/build/android/AndroidDataWritingVisitor.java')
-rw-r--r-- | src/tools/android/java/com/google/devtools/build/android/AndroidDataWritingVisitor.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tools/android/java/com/google/devtools/build/android/AndroidDataWritingVisitor.java b/src/tools/android/java/com/google/devtools/build/android/AndroidDataWritingVisitor.java index 55ce652bf1..01c8106afb 100644 --- a/src/tools/android/java/com/google/devtools/build/android/AndroidDataWritingVisitor.java +++ b/src/tools/android/java/com/google/devtools/build/android/AndroidDataWritingVisitor.java @@ -41,7 +41,8 @@ public interface AndroidDataWritingVisitor { * @param relativeDestinationPath The relative destination path to write the resource to. * @throws IOException if there are errors during copying. */ - void copyResource(Path source, String relativeDestinationPath) throws IOException; + void copyResource(Path source, String relativeDestinationPath) + throws IOException; /** * Adds a xml string fragment to the values file. @@ -49,5 +50,6 @@ public interface AndroidDataWritingVisitor { * @param key Used to ensure a constant order of the written xml. * @param xmlFragment the xml fragment as an Iterable<String> which allows lazy generation. */ + // TODO(corysmith): Change this to pass in a xml writer. Safer all around. void writeToValuesXml(FullyQualifiedName key, Iterable<String> xmlFragment); } |