public interface DebianPackageParser
A parser for a Debian package.
Modifier and Type | Method and Description |
---|---|
DebianPackage |
parseDebianPackage(DataSource source,
Context context)
Parses the Debian package from the specified source.
|
DebianPackage |
parseDebianPackage(DataSource source,
DebianPackageParseHandler handler,
Context context)
Parses the Debian package from the specified source.
|
DebianPackage parseDebianPackage(DataSource source, Context context) throws IOException, ParseException
Parses the Debian package from the specified source.
source
- The source.context
- The context.IllegalArgumentException
- If any of the parameters are null
.IOException
- If an I/O error occurs.ParseException
- If an error occurs during the parsing.DebianPackage parseDebianPackage(DataSource source, DebianPackageParseHandler handler, Context context) throws IOException, ParseException
Parses the Debian package from the specified source.
source
- The source.handler
- The handler.context
- The context.IllegalArgumentException
- If any of the parameters are null
.IOException
- If an I/O error occurs.ParseException
- If an error occurs during the parsing.Copyright © 2015–2019. All rights reserved.