Updated Manager replaceDatabase to take InputStreams for source DB and attachments, this supports using canned assets bundles with the App without requiring an intermediate copy on the local file system. Added StreamUtils class to support use of streams
Added ResourceUtils to simplify handling of resources
Added support for JAR based resource paths
Updated Manager replaceDatabase to take InputStreams for source DB and attachments, this supports using canned assets bundles with the App without requiring an intermediate copy on the local file system. Added StreamUtils class to support use of streams
Added ResourceUtils to simplify handling of resources
Add JAR support for getResourceListing
Added private replaceDatabase method that takes an Iterator over a set of Map.Entry objects, this guarantees that we only move forward through the attachments. Callers can use LinkedHashMap and SortedMap to enforce order.
Updated ManagerTest to use new Manager replaceDatabase method signature
Merge pull request #115 from couchbase/manager_replaceDatabase

Manager replaceDatabase takes InputStream instead of File