Class ByteArrayToMacAddress

java.lang.Object
org.jclouds.ohai.functions.ByteArrayToMacAddress
All Implemented Interfaces:
com.google.common.base.Function<byte[],String>, Function<byte[],String>

@Singleton public class ByteArrayToMacAddress extends Object implements com.google.common.base.Function<byte[],String>
Creates a string in the form: 00:26:bb:09:e6:c4
  • Constructor Details

    • ByteArrayToMacAddress

      public ByteArrayToMacAddress()
  • Method Details

    • apply

      public String apply(byte[] from)
      Specified by:
      apply in interface com.google.common.base.Function<byte[],String>
      Specified by:
      apply in interface Function<byte[],String>