Package com.artipie.rpm.meta
Class XmlMaid.ByPkgidAttr.Stream
java.lang.Object
com.artipie.rpm.meta.XmlMaid.ByPkgidAttr.Stream
- All Implemented Interfaces:
XmlMaid
- Enclosing class:
XmlMaid.ByPkgidAttr
Implementation of
XmlMaid
that accepts streams and cleans xml by pkgid attribute
in package tag. Input/output streams are not closed in this implementation, resources
should be closed from the outside.- Since:
- 1.4
-
Nested Class Summary
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
-
Stream
Ctor.- Parameters:
input
- Inputout
- Output
-
-
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
-