public interface XMLParser
Modifier and Type | Method and Description |
---|---|
ProductDescriptor |
getProductDescriptor(File file)
Parse a product descriptor from a file.
|
ProductDescriptor getProductDescriptor(File file) throws SAXException, IOException, ParserConfigurationException
file
- File containing a trade.SAXException
- Thrown by the xml parser.IOException
- Thrown if the file in not found or another IO error occured.ParserConfigurationException
- Thrown by the xml parser.Copyright © 2020. All rights reserved.