public interface BinaryPackageBuilder
Target path names are relative to the root of the system. Absolute paths will stay absolute and relative ones get converted to absolute using root. So usr/bin will become /usr/bin.
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
|
void addFile(ContentProvider contentProvider, String fileName, EntryInformation entryInformation) throws IOException
contentProvider
- the content providerfileName
- the name of the target fileentryInformation
- additional entry informationIOException
- if the file cannot be written to the packagevoid addDirectory(String directory, EntryInformation entryInformation) throws IOException
directory
- the name of the target directoryentryInformation
- additional entry informationIOException
- if the directory information cannot be written to the packageCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.