org.apache.archiva.maven2.metadata
Class MavenMetadataReader
java.lang.Object
org.apache.archiva.maven2.metadata.MavenMetadataReader
public class MavenMetadataReader
- extends Object
- Since:
- 1.4-M3
- Author:
- Olivier Lamy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MavenMetadataReader
public MavenMetadataReader()
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.