Package com.artipie.rpm.meta
Class XmlAlter.File
java.lang.Object
com.artipie.rpm.meta.XmlAlter.File
- All Implemented Interfaces:
XmlAlter
- Enclosing interface:
XmlAlter
Implementation of
XmlAlter
that alters tag of the provided file.- Since:
- 1.4
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.artipie.rpm.meta.XmlAlter
XmlAlter.File, XmlAlter.Stream
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
File
Ctor.- Parameters:
file
- File to update
-
-
Method Details
-
pkgAttr
Description copied from interface:XmlAlter
Updates `packages` attribute of the given tag with specified value.- Specified by:
pkgAttr
in interfaceXmlAlter
- Parameters:
tag
- Tag to changevalue
- Value for the attribute- Throws:
IOException
- When error occurs
-