Class MACAddress


  • public final class MACAddress
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) static java.lang.String[] linuxCommand  
      private static java.util.regex.Pattern macPattern  
      private static java.lang.String mRegex  
      (package private) static java.lang.String[] windowsCommand  
    • Constructor Summary

      Constructors 
      Constructor Description
      MACAddress()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List getMacAddresses()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • mRegex

        private static java.lang.String mRegex
      • macPattern

        private static java.util.regex.Pattern macPattern
      • windowsCommand

        static final java.lang.String[] windowsCommand
      • linuxCommand

        static final java.lang.String[] linuxCommand
    • Constructor Detail

      • MACAddress

        public MACAddress()
    • Method Detail

      • getMacAddresses

        public static java.util.List getMacAddresses()
                                              throws java.io.IOException,
                                                     java.lang.InterruptedException
        Throws:
        java.io.IOException
        java.lang.InterruptedException