public interface IArchiveBuilder
Modifier and Type | Method and Description |
---|---|
void |
addFile(java.io.File file,
java.lang.String archivePath)
Adds a file to the archive at a given path
|
void addFile(java.io.File file, java.lang.String archivePath) throws ApkCreationException, SealedApkException, DuplicateFileException
file
- the file to addarchivePath
- the path of the file inside the APK archive.ApkCreationException
- if an error occurredSealedApkException
- if the APK is already sealed.DuplicateFileException
- if a file conflicts with another already added to the APK
at the same location inside the APK archive.