public class DeviceParser
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CHIN_BOOT_PROP |
static java.lang.String |
ROUND_BOOT_PROP |
| 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.
|
public static final java.lang.String ROUND_BOOT_PROP
public static final java.lang.String CHIN_BOOT_PROP
@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.SAXExceptionjavax.xml.parsers.ParserConfigurationExceptionjava.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.SAXExceptionjava.io.IOExceptionjavax.xml.parsers.ParserConfigurationException