public final class XmlModuleDescriptorUpdater
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static class |
XmlModuleDescriptorUpdater.ConfigurationPrinter |
protected static class |
XmlModuleDescriptorUpdater.DependencyPrinter |
protected static interface |
XmlModuleDescriptorUpdater.ItemPrinter
Prints a descriptor item's XML representation
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LINE_SEPARATOR |
Modifier and Type | Method and Description |
---|---|
static void |
update(java.io.InputStream in,
Resource res,
java.io.File destFile,
UpdateOptions options) |
static void |
update(java.net.URL srcURL,
java.io.File destFile,
UpdateOptions options)
used to copy a module descriptor xml file (also known as ivy file) and update the revisions
of its dependencies, its status and revision
|
static void |
update(java.net.URL inStreamCtx,
java.io.InputStream inStream,
java.io.OutputStream outStream,
UpdateOptions options) |
static void |
update(java.net.URL srcURL,
java.io.OutputStream destFile,
UpdateOptions options) |
public static void update(java.net.URL srcURL, java.io.File destFile, UpdateOptions options) throws java.io.IOException, org.xml.sax.SAXException
srcURL
- the url of the source module descriptor filedestFile
- The file to which the updated module descriptor should be outputjava.io.IOException
org.xml.sax.SAXException
public static void update(java.net.URL srcURL, java.io.OutputStream destFile, UpdateOptions options) throws java.io.IOException, org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException
public static void update(java.io.InputStream in, Resource res, java.io.File destFile, UpdateOptions options) throws java.io.IOException, org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException
public static void update(java.net.URL inStreamCtx, java.io.InputStream inStream, java.io.OutputStream outStream, UpdateOptions options) throws java.io.IOException, org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException