Package com.android.manifmerger
Interface ManifestMerger2.ManifestDocumentProvider
- Enclosing class:
- ManifestMerger2
public static interface ManifestMerger2.ManifestDocumentProvider
A ManifestMerger2.ManifestDocumentProvider provides the merged manifest XML
Document
instance for the project a given File belongs to.-
Method Summary
Modifier and TypeMethodDescriptiongetManifestDocument(File file) Gets a Merged manifest XML document for the given file's project.
-
Method Details
-
getManifestDocument
Gets a Merged manifest XML document for the given file's project. Returns Optional.empty() when the document is unavailable. ManifestMerger process falls back to theManifestMerger2.FileStreamProviderwhen the document is not available.- Parameters:
file- the file handle- Returns:
- the contents of the file
-