Package com.android.sdklib.devices
Class DeviceParser
- java.lang.Object
-
- com.android.sdklib.devices.DeviceParser
-
public class DeviceParser extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCHIN_BOOT_PROPstatic java.lang.StringROUND_BOOT_PROP
-
Constructor Summary
Constructors Constructor Description DeviceParser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.google.common.collect.Table<java.lang.String,java.lang.String,Device>parse(java.io.InputStream devices)This method closes the stream.static com.google.common.collect.Table<java.lang.String,java.lang.String,Device>parse(java.nio.file.Path devicesFile)
-
-
-
Field Detail
-
ROUND_BOOT_PROP
public static final java.lang.String ROUND_BOOT_PROP
- See Also:
- Constant Field Values
-
CHIN_BOOT_PROP
public static final java.lang.String CHIN_BOOT_PROP
- See Also:
- Constant Field Values
-
-
Method Detail
-
parse
@NonNull public static com.google.common.collect.Table<java.lang.String,java.lang.String,Device> parse(@NonNull java.nio.file.Path devicesFile) throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException, java.io.IOException
- Throws:
org.xml.sax.SAXExceptionjavax.xml.parsers.ParserConfigurationExceptionjava.io.IOException
-
parse
@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
This method closes the stream.- Throws:
org.xml.sax.SAXExceptionjava.io.IOExceptionjavax.xml.parsers.ParserConfigurationException
-
-