public interface CopyrightParser
A parser for the copyright of a Debian package.
Modifier and Type | Method and Description |
---|---|
Copyright |
parseCopyright(DataSource source,
Context context)
Parses the copyright from the specified source.
|
Copyright parseCopyright(DataSource source, Context context) throws IOException, ParseException
Parses the copyright 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.Copyright © 2015–2019. All rights reserved.