public class JAXWSMerge
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEPLOYMENT_MODULE_BACKUP |
| Constructor and Description |
|---|
JAXWSMerge()
Default Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
merge(java.lang.String depModuleDir,
java.lang.String targetDir)
Merge Web Service definition in web.xml and webservices.xml
|
byte[] |
readXMLFile(java.lang.String filepath)
Read XML file to process data.
|
void |
writeBytesToXMLFile(byte[] in,
java.lang.String filepath)
Write byte array to the file
|
static void |
writeDocumentToXMLFile(org.jdom.Document doc,
java.lang.String filepath)
Write document to the file
|
void |
writeStreamToXMLFile(java.io.InputStream inputStream,
java.lang.String filepath)
Write byte array to the file
|
public static final java.lang.String DEPLOYMENT_MODULE_BACKUP
public void merge(java.lang.String depModuleDir,
java.lang.String targetDir)
throws java.lang.Exception
depModuleDir - deployment module directorytargetDir - target directoryjava.lang.Exception - Exceptionpublic void writeBytesToXMLFile(byte[] in,
java.lang.String filepath)
throws java.lang.Exception
in - Data to write.filepath - Give path of the file.java.lang.Exception - Exceptionpublic void writeStreamToXMLFile(java.io.InputStream inputStream,
java.lang.String filepath)
throws java.lang.Exception
inputStream - Data to write.filepath - Give path of the file.java.lang.Exception - Exceptionpublic static void writeDocumentToXMLFile(org.jdom.Document doc,
java.lang.String filepath)
throws java.lang.Exception
doc - Data to write.filepath - Give path of the file.java.lang.Exception - Exceptionpublic byte[] readXMLFile(java.lang.String filepath)
throws java.lang.Exception
filepath - Give path of the file.MXSystemException - MAXIMO exceptionjava.lang.Exception