org.sonatype.tycho.p2.maven.repository.xmlio
Class ArtifactsIO

java.lang.Object
  extended by org.sonatype.tycho.p2.maven.repository.xmlio.ArtifactsIO

public class ArtifactsIO
extends Object


Constructor Summary
ArtifactsIO()
           
 
Method Summary
 Set<org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor> readXML(InputStream is)
           
 void writeXML(LinkedHashSet<org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor> descriptors, File file)
           
 void writeXML(Set<org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor> descriptors, OutputStream os)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArtifactsIO

public ArtifactsIO()
Method Detail

readXML

public Set<org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor> readXML(InputStream is)
                                                                            throws IOException
Throws:
IOException

writeXML

public void writeXML(Set<org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor> descriptors,
                     OutputStream os)
              throws IOException
Throws:
IOException

writeXML

public void writeXML(LinkedHashSet<org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor> descriptors,
                     File file)
              throws IOException
Throws:
IOException


Copyright © 2008-2011. All Rights Reserved.