I'd like to make a few minor changes to the ArtifactProcessor API:
Add inputStream/outputStreams to the URLArtifactProcessor.read/write() methods. This will help centralize the code to get the inputStream from a URL instead of repeating it in all URLArtifactProcessors. Also, it will allow the caller to create an OutputStream for the write method, as the code inside write() can't really create an OutputStream from a URL without making a big assumption on what the URL protocol is.
Add a throws XMLStreamException clause to the StAXArtifactProcessor.read/write() methods and IOException to the URLArtifactProcessor.read/write() methods, to avoid having to wrap them in ContributionRead/WriteExceptions in the ArtifactProcessors.
Thoughts? -- Jean-Sebastien --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
