Class MetadataIO
- java.lang.Object
-
- org.eclipse.tycho.p2.maven.repository.xmlio.MetadataIO
-
public class MetadataIO extends Object
-
-
Constructor Summary
Constructors Constructor Description MetadataIO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.equinox.p2.metadata.MetadataFactory.InstallableUnitDescription
readOneIU(InputStream is)
Set<org.eclipse.equinox.p2.metadata.IInstallableUnit>
readXML(InputStream is)
void
writeXML(Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> units, File file)
void
writeXML(Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> units, OutputStream os)
-
-
-
Method Detail
-
readOneIU
public org.eclipse.equinox.p2.metadata.MetadataFactory.InstallableUnitDescription readOneIU(InputStream is) throws IOException
- Throws:
IOException
-
readXML
public Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> readXML(InputStream is) throws IOException
- Throws:
IOException
-
writeXML
public void writeXML(Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> units, OutputStream os) throws IOException
- Throws:
IOException
-
writeXML
public void writeXML(Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> units, File file) throws IOException
- Throws:
IOException
-
-