Class DeviceParser


  • public class DeviceParser
    extends java.lang.Object
    • 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)  
      • 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.nio.file.Path 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