AbstractModuleDescriptorParser, ModuleDescriptorParserRegistry, OSGiManifestParser, PomModuleDescriptorParser, XmlModuleDescriptorParserpublic interface ModuleDescriptorParser
| Modifier and Type | Method | Description |
|---|---|---|
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
|
java.lang.String |
getType() |
Return the 'type' of module artifacts this parser is parsing
|
ModuleDescriptor |
parseDescriptor(ParserSettings ivySettings,
java.net.URL descriptorURL,
boolean validate) |
|
ModuleDescriptor |
parseDescriptor(ParserSettings ivySettings,
java.net.URL descriptorURL,
Resource res,
boolean validate) |
|
void |
toIvyFile(java.io.InputStream is,
Resource res,
java.io.File destFile,
ModuleDescriptor md) |
Convert a module descriptor to an ivy file.
|
ModuleDescriptor parseDescriptor(ParserSettings ivySettings, java.net.URL descriptorURL, boolean validate) throws java.text.ParseException, java.io.IOException
java.text.ParseExceptionjava.io.IOExceptionModuleDescriptor parseDescriptor(ParserSettings ivySettings, java.net.URL descriptorURL, Resource res, boolean validate) throws java.text.ParseException, java.io.IOException
java.text.ParseExceptionjava.io.IOExceptionvoid toIvyFile(java.io.InputStream is,
Resource res,
java.io.File destFile,
ModuleDescriptor md)
throws java.text.ParseException,
java.io.IOException
is - input stream with opened on original module descriptor resourcejava.text.ParseExceptionjava.io.IOExceptionboolean accept(Resource res)
java.lang.String getType()
Artifact getMetadataArtifact(ModuleRevisionId mrid, Resource res)
res - the resource for which the module artifact should be returnedmrid - the module revision id for which the module artifact should be returned