public class BinaryPackageBuilderWrapper extends Object implements BinaryPackageBuilder
| Constructor and Description |
|---|
BinaryPackageBuilderWrapper(File folder) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDirectory(String directory,
EntryInformation entryInformation)
Add a directory to the binary package
|
void |
addFile(ContentProvider contentProvider,
String fileName,
EntryInformation entryInformation)
Add a file to the binary package
|
public BinaryPackageBuilderWrapper(File folder)
public void addFile(ContentProvider contentProvider, String fileName, EntryInformation entryInformation) throws IOException
BinaryPackageBuilderaddFile in interface BinaryPackageBuildercontentProvider - the content providerfileName - the name of the target fileentryInformation - additional entry informationIOException - if the file cannot be written to the packagepublic void addDirectory(String directory, EntryInformation entryInformation) throws IOException
BinaryPackageBuilderaddDirectory in interface BinaryPackageBuilderdirectory - the name of the target directoryentryInformation - additional entry informationIOException - if the directory information cannot be written to the package