public class MetadataIO
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
private static class |
MetadataIO.Parser |
private static class |
MetadataIO.Writer |
| Constructor and Description |
|---|
MetadataIO() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.equinox.p2.metadata.MetadataFactory.InstallableUnitDescription |
readOneIU(java.io.InputStream is) |
java.util.Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> |
readXML(java.io.InputStream is) |
void |
writeXML(java.util.Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> units,
java.io.File file) |
void |
writeXML(java.util.Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> units,
java.io.OutputStream os) |
public org.eclipse.equinox.p2.metadata.MetadataFactory.InstallableUnitDescription readOneIU(java.io.InputStream is)
throws java.io.IOException
java.io.IOExceptionpublic java.util.Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> readXML(java.io.InputStream is)
throws java.io.IOException
java.io.IOExceptionpublic void writeXML(java.util.Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> units,
java.io.OutputStream os)
throws java.io.IOException
java.io.IOExceptionpublic void writeXML(java.util.Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> units,
java.io.File file)
throws java.io.IOException
java.io.IOException