Package com.artipie.rpm.meta
Class XmlMaid.ByPkgidAttr
java.lang.Object
com.artipie.rpm.meta.XmlMaid.ByPkgidAttr
- All Implemented Interfaces:
XmlMaid
- Enclosing interface:
XmlMaid
Cleans xml by pkgid attribute in package tag.
- Since:
- 0.3
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Implementation ofXmlMaid
that accepts streams and cleans xml by pkgid attribute in package tag.Nested classes/interfaces inherited from interface com.artipie.rpm.meta.XmlMaid
XmlMaid.ByPkgidAttr
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
clean
(Collection<String> ids) Cleans xml by ids (checksums) and returns actual package count.
-
Constructor Details
-
ByPkgidAttr
Ctor.- Parameters:
file
- What to clear
-
-
Method Details
-
clean
Description copied from interface:XmlMaid
Cleans xml by ids (checksums) and returns actual package count.- Specified by:
clean
in interfaceXmlMaid
- Parameters:
ids
- Checksums- Returns:
- Packages count
- Throws:
IOException
- When something wrong
-