org.jclouds.cloudstack.config
Class CloudStackParserModule.CommaDelimitedOKIterableTypeAdapterFactory.Adapter<E>
java.lang.Object
com.google.gson.TypeAdapter<Iterable<E>>
org.jclouds.cloudstack.config.CloudStackParserModule.CommaDelimitedOKIterableTypeAdapterFactory.Adapter<E>
- Enclosing class:
- CloudStackParserModule.CommaDelimitedOKIterableTypeAdapterFactory
public static final class CloudStackParserModule.CommaDelimitedOKIterableTypeAdapterFactory.Adapter<E>
- extends com.google.gson.TypeAdapter<Iterable<E>>
|
Method Summary |
Iterable<E> |
read(com.google.gson.stream.JsonReader in)
|
void |
write(com.google.gson.stream.JsonWriter out,
Iterable<E> value)
|
| Methods inherited from class com.google.gson.TypeAdapter |
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CloudStackParserModule.CommaDelimitedOKIterableTypeAdapterFactory.Adapter
public CloudStackParserModule.CommaDelimitedOKIterableTypeAdapterFactory.Adapter(com.google.gson.TypeAdapter<E> elementAdapter)
write
public void write(com.google.gson.stream.JsonWriter out,
Iterable<E> value)
throws IOException
- Specified by:
write in class com.google.gson.TypeAdapter<Iterable<E>>
- Throws:
IOException
read
public Iterable<E> read(com.google.gson.stream.JsonReader in)
throws IOException
- Specified by:
read in class com.google.gson.TypeAdapter<Iterable<E>>
- Throws:
IOException
Copyright © 2009-2013 jclouds. All Rights Reserved.