Class IUSerializer
java.lang.Object
org.eclipse.equinox.p2.metadata.io.IUSerializer
This class allows to serialize a collection of
IInstallableUnit
s.
These serialized IUs can be read using the IUDeserializer
.
The format in which the IUs are serialized is not API and is subject to change without notice.- Since:
- 1.2
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
write
(Collection<IInstallableUnit> ius) Serialize the given collections of IU.
-
Constructor Details
-
IUSerializer
Construct a serializer.- Parameters:
os
- the output stream against which the serializer will work.- Throws:
UnsupportedEncodingException
- never thrown but API
-
-
Method Details
-
write
Serialize the given collections of IU.- Parameters:
ius
- the collection ofIInstallableUnit
s to serialize
-