Package | Description |
---|---|
net.sourceforge.javadpkg |
Contains the interfaces and classes for reading and writing Debian packages.
|
net.sourceforge.javadpkg.control |
Contains the interfaces and classes for handling the information of the
control file. |
net.sourceforge.javadpkg.control.impl |
The implementation of the interfaces and abstract classes.
|
net.sourceforge.javadpkg.impl |
The implementation of the interfaces and abstract classes.
|
net.sourceforge.javadpkg.store |
Contains the management for the data of the Debian package.
|
Modifier and Type | Method and Description |
---|---|
void |
DebianPackageBuilder.setInstalledSizeOverhead(Size installedSizeOverhead)
Sets the overhead which will be added to the specified installed size.
|
Modifier and Type | Method and Description |
---|---|
Size |
BinaryControl.getInstalledSize()
Returns an estimate of the total amount of disk space required to install
this package.
|
static Size |
Size.getSizeInBytes(long size)
Returns the size for the specified number of bytes.
|
static Size |
Size.getSizeInKiloBytes(long size)
Returns the size for the specified number of kilobytes.
|
Size |
SizeParser.parseSizeInKiloBytes(String value,
Context context)
Parses a size in kilobytes.
|
Modifier and Type | Method and Description |
---|---|
void |
ControlBuilder.buildControl(Control control,
Size installedSize,
DataTarget target,
Context context)
Builds the control into the specified target using the specified
installed size.
|
String |
SizeBuilder.buildSizeInKiloBytes(Size size,
Context context)
Builds a size in kilobytes.
|
Modifier and Type | Method and Description |
---|---|
Size |
BinaryControlImpl.getInstalledSize() |
Size |
SizeParserImpl.parseSizeInKiloBytes(String value,
Context context) |
Modifier and Type | Method and Description |
---|---|
void |
ControlBuilderImpl.buildControl(Control control,
Size installedSize,
DataTarget target,
Context context) |
String |
SizeBuilderImpl.buildSizeInKiloBytes(Size size,
Context context) |
void |
BinaryControlImpl.setInstalledSize(Size installedSize)
Sets an estimate of the total amount of disk space required to install
this package.
|
Constructor and Description |
---|
BinaryControlImpl(PackageDependency source,
PackageVersion version,
Architecture architecture,
PackageMultiArchitecture multiArchitecture,
PackageMaintainer maintainer,
Homepage homepage,
PackageName packageName,
Section section,
PackagePriority priority,
Boolean essential,
List<PackageDependency> depends,
List<PackageDependency> recommends,
List<PackageDependency> suggest,
List<PackageDependency> enhances,
List<PackageDependency> preDepends,
List<PackageDependency> breaks,
List<PackageDependency> conflicts,
List<PackageDependency> provides,
List<PackageDependency> replaces,
List<PackageDependency> builtUsing,
Size installedSize,
Description description)
Creates a binary control.
|
Modifier and Type | Method and Description |
---|---|
void |
DebianPackageBuilderImpl.setInstalledSizeOverhead(Size installedSizeOverhead) |
Modifier and Type | Method and Description |
---|---|
Size |
DataStoreImpl.getSize() |
Size |
DataStore.getSize()
Returns the size of all files added to the store.
|
Copyright © 2015–2019. All rights reserved.