public class DeviceParser
extends java.lang.Object
Constructor and Description |
---|
DeviceParser() |
Modifier and Type | Method and Description |
---|---|
static com.google.common.collect.Table<java.lang.String,java.lang.String,Device> |
parse(java.io.File devicesFile) |
static com.google.common.collect.Table<java.lang.String,java.lang.String,Device> |
parse(java.io.InputStream devices)
This method closes the stream.
|
@NonNull public static com.google.common.collect.Table<java.lang.String,java.lang.String,Device> parse(@NonNull java.io.File devicesFile) throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException, java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
java.io.IOException
@NonNull public static com.google.common.collect.Table<java.lang.String,java.lang.String,Device> parse(@NonNull java.io.InputStream devices) throws org.xml.sax.SAXException, java.io.IOException, javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException