Package org.eclipse.tycho.p2maven.io
Class MetadataIO
java.lang.Object
org.eclipse.tycho.p2maven.io.MetadataIO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.equinox.p2.metadata.MetadataFactory.InstallableUnitDescriptionreadOneIU(InputStream is) Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> readXML(InputStream is) voidwriteXML(Collection<? extends org.eclipse.equinox.p2.metadata.IInstallableUnit> units, File file) voidwriteXML(Collection<? extends org.eclipse.equinox.p2.metadata.IInstallableUnit> units, OutputStream os)
-
Constructor Details
-
MetadataIO
public MetadataIO()
-
-
Method Details
-
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(Collection<? extends org.eclipse.equinox.p2.metadata.IInstallableUnit> units, OutputStream os) throws IOException - Throws:
IOException
-
writeXML
public void writeXML(Collection<? extends org.eclipse.equinox.p2.metadata.IInstallableUnit> units, File file) throws IOException - Throws:
IOException
-
readXML
public Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> readXML(File artifact) throws IOException - Throws:
IOException
-