Package org.eclipse.tycho.p2.impl.repo
Class MetadataSerializableImpl
- java.lang.Object
-
- org.eclipse.tycho.p2.impl.repo.MetadataSerializableImpl
-
- All Implemented Interfaces:
MetadataSerializable
public class MetadataSerializableImpl extends java.lang.Object implements MetadataSerializable
-
-
Field Summary
Fields Modifier and Type Field Description private org.eclipse.equinox.p2.core.IProvisioningAgent
agent
-
Constructor Summary
Constructors Constructor Description MetadataSerializableImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
serialize(java.io.OutputStream stream, java.util.Set<?> installableUnits)
Writes the given set of installable units to the given output stream in standard p2 metadata repository format.private java.util.List<org.eclipse.equinox.p2.metadata.IInstallableUnit>
toInstallableUnits(java.util.Set<?> installableUnits)
-
-
-
Method Detail
-
serialize
public void serialize(java.io.OutputStream stream, java.util.Set<?> installableUnits) throws java.io.IOException
Description copied from interface:MetadataSerializable
Writes the given set of installable units to the given output stream in standard p2 metadata repository format. The caller is responsible for closing the stream.- Specified by:
serialize
in interfaceMetadataSerializable
- Throws:
java.io.IOException
-
toInstallableUnits
private java.util.List<org.eclipse.equinox.p2.metadata.IInstallableUnit> toInstallableUnits(java.util.Set<?> installableUnits)
-
-