org.jclouds.virtualbox.functions.admin
Class FileDownloadFromURI

java.lang.Object
  extended by org.jclouds.virtualbox.functions.admin.FileDownloadFromURI
All Implemented Interfaces:
com.google.common.base.Function<URI,File>

public class FileDownloadFromURI
extends Object
implements com.google.common.base.Function<URI,File>

Author:
Mattias Holmqvist

Field Summary
protected  Logger logger
           
 
Constructor Summary
FileDownloadFromURI(HttpAsyncClient client, String workingDir)
           
 
Method Summary
 File apply(URI input)
           
 
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

logger

@Named(value="jclouds.compute")
protected Logger logger
Constructor Detail

FileDownloadFromURI

@Inject
public FileDownloadFromURI(HttpAsyncClient client,
                                  @Named(value="jclouds.virtualbox.workingdir")
                                  String workingDir)
Method Detail

apply

public File apply(@Nullable
                  URI input)
Specified by:
apply in interface com.google.common.base.Function<URI,File>


Copyright © 2009-2012 jclouds. All Rights Reserved.