org.apache.ivy.plugins.parser
Interface ModuleDescriptorParser
- All Known Implementing Classes:
- AbstractModuleDescriptorParser, ModuleDescriptorParserRegistry, PomModuleDescriptorParser, XmlModuleDescriptorParser
public interface ModuleDescriptorParser
parseDescriptor
ModuleDescriptor parseDescriptor(IvySettings ivySettings,
java.net.URL descriptorURL,
boolean validate)
throws java.text.ParseException,
java.io.IOException
- Throws:
java.text.ParseException
java.io.IOException
parseDescriptor
ModuleDescriptor parseDescriptor(IvySettings ivySettings,
java.net.URL descriptorURL,
Resource res,
boolean validate)
throws java.text.ParseException,
java.io.IOException
- Throws:
java.text.ParseException
java.io.IOException
toIvyFile
void toIvyFile(java.io.InputStream is,
Resource res,
java.io.File destFile,
ModuleDescriptor md)
throws java.text.ParseException,
java.io.IOException
- Convert a module descriptor to an ivy file.
This method MUST close the given input stream when job is finished
- Parameters:
is
- input stream with opened on original module descriptor resource
- Throws:
java.text.ParseException
java.io.IOException
accept
boolean accept(Resource res)