org.sonatype.aether.test.util
Class IniArtifactDescriptorReader
java.lang.Object
org.sonatype.aether.test.util.IniArtifactDescriptorReader
public class IniArtifactDescriptorReader
- extends Object
Uses a IniArtifactDataReader
to parse an artifact description.
Note: May not directly implement ArtifactDescriptorReader from aether-impl because of circular dependencies, and has
to be wrapped for use in test classes.
- Author:
- Benjamin Hanzelmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IniArtifactDescriptorReader
public IniArtifactDescriptorReader(String prefix)
- Use the given prefix to load the artifact descriptions.
readArtifactDescriptor
public ArtifactDescriptorResult readArtifactDescriptor(RepositorySystemSession session,
ArtifactDescriptorRequest request)
throws ArtifactDescriptorException
- Parses the resource
$prefix/gid_aid_ext_ver.ini
from the request artifact as an artifact description
and wraps it into an ArtifactDescriptorResult.
- Throws:
ArtifactDescriptorException
Copyright © 2010-2013. All Rights Reserved.