org.jclouds.gogrid.functions
Class ParseOptionsFromJsonResponse

java.lang.Object
  extended by org.jclouds.gogrid.functions.ParseOptionsFromJsonResponse
All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,SortedSet<Option>>

public class ParseOptionsFromJsonResponse
extends Object
implements com.google.common.base.Function<HttpResponse,SortedSet<Option>>

Parses the list of generic options. GoGrid uses options as containers for id/name/descrOptiontion objects.

Author:
Oleksiy Yarmula

Method Summary
 SortedSet<Option> apply(HttpResponse arg0)
           
 
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
 

Method Detail

apply

public SortedSet<Option> apply(HttpResponse arg0)
Specified by:
apply in interface com.google.common.base.Function<HttpResponse,SortedSet<Option>>


Copyright © 2009-2011 jclouds. All Rights Reserved.