public class Instances extends Object
| Constructor and Description |
|---|
Instances() |
| Modifier and Type | Method and Description |
|---|---|
static Instance |
read(Path inputPath)
Example method that returns an Instance object from an XML file.
|
static File |
write(Instance instance,
Path outputPath)
Example method that writes XML from an Instance object.
|
public static Instance read(Path inputPath) throws JAXBException
inputPath - JAXBExceptionpublic static File write(Instance instance, Path outputPath) throws SAXException, JAXBException
instance - outputPath - SAXExceptionJAXBExceptionCopyright © 2014 VRP-REP. All rights reserved.