org.jclouds.digitalocean.config
Class DigitalOceanParserModule.SshPublicKeyAdapter
java.lang.Object
com.google.gson.TypeAdapter<PublicKey>
org.jclouds.digitalocean.config.DigitalOceanParserModule.SshPublicKeyAdapter
- Enclosing class:
- DigitalOceanParserModule
@Singleton
public static class DigitalOceanParserModule.SshPublicKeyAdapter
- extends com.google.gson.TypeAdapter<PublicKey>
| 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 |
DigitalOceanParserModule.SshPublicKeyAdapter
public DigitalOceanParserModule.SshPublicKeyAdapter()
write
public void write(com.google.gson.stream.JsonWriter out,
PublicKey value)
throws IOException
- Specified by:
write in class com.google.gson.TypeAdapter<PublicKey>
- Throws:
IOException
read
public PublicKey read(com.google.gson.stream.JsonReader in)
throws IOException
- Specified by:
read in class com.google.gson.TypeAdapter<PublicKey>
- Throws:
IOException
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.