com.android.sdklib.devices
Class DeviceParser

java.lang.Object
  extended by com.android.sdklib.devices.DeviceParser

public class DeviceParser
extends java.lang.Object


Constructor Summary
DeviceParser()
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeviceParser

public DeviceParser()
Method Detail

parse

@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
Throws:
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
java.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.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException