org.jclouds.savvis.vpdc.compute.functions
Class NetworkToLocation

java.lang.Object
  extended by org.jclouds.savvis.vpdc.compute.functions.NetworkToLocation
All Implemented Interfaces:
com.google.common.base.Function<Network,Location>

@Singleton
public class NetworkToLocation
extends Object
implements com.google.common.base.Function<Network,Location>

Author:
Adrian Cole

Field Summary
static Pattern netPattern
           
 
Constructor Summary
NetworkToLocation(Set<String> isoCodes, String providerName, com.google.common.base.Supplier<URI> endpoint, VPDCClient client)
           
 
Method Summary
 Location apply(Network 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
 

Field Detail

netPattern

public static final Pattern netPattern
Constructor Detail

NetworkToLocation

@Inject
public NetworkToLocation(Set<String> isoCodes,
                                String providerName,
                                com.google.common.base.Supplier<URI> endpoint,
                                VPDCClient client)
Method Detail

apply

public Location apply(Network from)
Specified by:
apply in interface com.google.common.base.Function<Network,Location>


Copyright © 2009-2012 jclouds. All Rights Reserved.