org.jclouds.ohai.functions
Class ByteArrayToMacAddress

java.lang.Object
  extended by org.jclouds.ohai.functions.ByteArrayToMacAddress
All Implemented Interfaces:
com.google.common.base.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 Summary
ByteArrayToMacAddress()
           
 
Method Summary
 String apply(byte[] from)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Constructor Detail

ByteArrayToMacAddress

public ByteArrayToMacAddress()
Method Detail

apply

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


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.