org.apache.ivy.plugins.parser
public interface ModuleDescriptorParser
Method Summary | |
---|---|
boolean | accept(Resource res) |
Artifact | getMetadataArtifact(ModuleRevisionId mrid, Resource res)
Returns the module metadata artifact corresponding to the given module revision id that this
parser parses
|
String | getType()
Return the 'type' of module artifacts this parser is parsing |
ModuleDescriptor | parseDescriptor(ParserSettings ivySettings, URL descriptorURL, boolean validate) |
ModuleDescriptor | parseDescriptor(ParserSettings ivySettings, URL descriptorURL, Resource res, boolean validate) |
void | toIvyFile(InputStream is, Resource res, File destFile, ModuleDescriptor md)
Convert a module descriptor to an ivy file. |
Parameters: res the resource for which the module artifact should be returned mrid the module revision id for which the module artifact should be returned
Returns: the module artifact corresponding to the given mrid and resource
Returns: the 'type' of module artifacts this parser is parsing
Parameters: is input stream with opened on original module descriptor resource