commit | d683f9756b0c56d28693c4d0269217e8fcebf76a | [log] [tgz] |
---|---|---|
author | Tomasz Mikolajewski <mtomasz@google.com> | Tue Jan 24 18:54:42 2017 +0900 |
committer | Tomasz Mikolajewski <mtomasz@google.com> | Wed Jan 25 15:24:07 2017 +0900 |
tree | 44bc56623a73a9596d91c6ebb8c376871d81ec66 | |
parent | cb53bbbfbf24247dea0ce10ca79910c6e56f9776 [diff] |
Refactor archives to support creating archives. Archive class used StrictJarFile, which only supports reading. This CL makes Archive a base class which is going to have two subclasses: ReadableArchive (current Archive) and WriteableArchive. ReadableArchive will be used to open archives with StrictJarFile. WriteableArchive will be used to create archives with ZipOutputStream. Test: Unit tests. Bug: 20822019 Change-Id: I40174c8d970bc3098929854231622e3006f6263e