java.lang.Object
org.xbib.rpm.changelog.ChangelogHandler
This class manages the process of adding a Changelog to the header.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChangeLog(Reader reader) Adds the specified changelod to the archive.voidaddChangeLog(String string) Adds the specified changelog contents to the archive.voidaddChangeLog(Path changelogFile) Adds the specified changelog file to the archive.
-
Constructor Details
-
ChangelogHandler
-
-
Method Details
-
addChangeLog
Adds the specified changelog file to the archive.- Parameters:
changelogFile- the Changelog file to be added- Throws:
IOException- if the specified file cannot be readChangelogParseException- if the file violates the requirements of a Changelog
-
addChangeLog
Adds the specified changelog contents to the archive.- Parameters:
string- the changelog contents to be added- Throws:
IOException- if the specified file cannot be readChangelogParseException- if the file violates the requirements of a Changelog
-
addChangeLog
Adds the specified changelod to the archive.- Parameters:
reader- the changelog reader to be added- Throws:
IOException- if the specified file cannot be readChangelogParseException- if the file violates the requirements of a Changelog
-