This project has retired. For details please refer to its Attic page.
RepositoryMetadataReader

org.apache.maven.archiva.repository.metadata
Class RepositoryMetadataReader

Package class diagram package RepositoryMetadataReader
java.lang.Object
  extended by org.apache.maven.archiva.repository.metadata.RepositoryMetadataReader

public class RepositoryMetadataReader
extends java.lang.Object

RepositoryMetadataReader - read maven-metadata.xml files.


Constructor Summary
RepositoryMetadataReader()
           
 
Method Summary
static org.apache.maven.archiva.model.ArchivaRepositoryMetadata read(java.io.File metadataFile)
          Read and return the ArchivaRepositoryMetadata object from the provided xml file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryMetadataReader

public RepositoryMetadataReader()
Method Detail

read

public static org.apache.maven.archiva.model.ArchivaRepositoryMetadata read(java.io.File metadataFile)
                                                                     throws RepositoryMetadataException
Read and return the ArchivaRepositoryMetadata object from the provided xml file.

Parameters:
metadataFile - the maven-metadata.xml file to read.
Returns:
the archiva repository metadata object that represents the provided file contents.
Throws:
RepositoryMetadataException