File::saveXML()
Browser availability: desktop-only.
This API requires the desktop runtime. Browser declarations may report the limitation without performing the operation.
Saves the given object as an XML file at the specified path.
Syntax
Java
.saveXML(path, obj)
Parameters
| Name | Data Type | Description |
|---|---|---|
| path | String | the path where the XML file will be saved |
| obj | T | the object to be saved as XML |
Return
void