org.apache.archiva.maven2.metadata
Class MavenMetadataReader

java.lang.Object
  extended by org.apache.archiva.maven2.metadata.MavenMetadataReader

public class MavenMetadataReader
extends Object

Since:
1.4-M3
Author:
Olivier Lamy

Constructor Summary
MavenMetadataReader()
           
 
Method Summary
static ArchivaRepositoryMetadata read(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

MavenMetadataReader

public MavenMetadataReader()
Method Detail

read

public static ArchivaRepositoryMetadata read(File metadataFile)
                                      throws XMLException
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:
XMLException


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.