com.dslplatform.json
Class NetConverter

java.lang.Object
  extended by com.dslplatform.json.NetConverter

public abstract class NetConverter
extends Object


Constructor Summary
NetConverter()
           
 
Method Summary
static InetAddress deserializeIp(JsonReader reader)
           
static ArrayList<InetAddress> deserializeIpCollection(JsonReader reader)
           
static void deserializeIpCollection(JsonReader reader, Collection<InetAddress> res)
           
static ArrayList<InetAddress> deserializeIpNullableCollection(JsonReader reader)
           
static void deserializeIpNullableCollection(JsonReader reader, Collection<InetAddress> res)
           
static URI deserializeUri(JsonReader reader)
           
static ArrayList<URI> deserializeUriCollection(JsonReader reader)
           
static void deserializeUriCollection(JsonReader reader, Collection<URI> res)
           
static ArrayList<URI> deserializeUriNullableCollection(JsonReader reader)
           
static void deserializeUriNullableCollection(JsonReader reader, Collection<URI> res)
           
static void serialize(InetAddress value, JsonWriter sw)
           
static void serialize(URI value, JsonWriter sw)
           
static void serializeNullable(InetAddress value, JsonWriter sw)
           
static void serializeNullable(URI value, JsonWriter sw)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetConverter

public NetConverter()
Method Detail

serializeNullable

public static void serializeNullable(URI value,
                                     JsonWriter sw)

serialize

public static void serialize(URI value,
                             JsonWriter sw)

deserializeUri

public static URI deserializeUri(JsonReader reader)
                          throws IOException
Throws:
IOException

deserializeUriCollection

public static ArrayList<URI> deserializeUriCollection(JsonReader reader)
                                               throws IOException
Throws:
IOException

deserializeUriCollection

public static void deserializeUriCollection(JsonReader reader,
                                            Collection<URI> res)
                                     throws IOException
Throws:
IOException

deserializeUriNullableCollection

public static ArrayList<URI> deserializeUriNullableCollection(JsonReader reader)
                                                       throws IOException
Throws:
IOException

deserializeUriNullableCollection

public static void deserializeUriNullableCollection(JsonReader reader,
                                                    Collection<URI> res)
                                             throws IOException
Throws:
IOException

serializeNullable

public static void serializeNullable(InetAddress value,
                                     JsonWriter sw)

serialize

public static void serialize(InetAddress value,
                             JsonWriter sw)

deserializeIp

public static InetAddress deserializeIp(JsonReader reader)
                                 throws IOException
Throws:
IOException

deserializeIpCollection

public static ArrayList<InetAddress> deserializeIpCollection(JsonReader reader)
                                                      throws IOException
Throws:
IOException

deserializeIpCollection

public static void deserializeIpCollection(JsonReader reader,
                                           Collection<InetAddress> res)
                                    throws IOException
Throws:
IOException

deserializeIpNullableCollection

public static ArrayList<InetAddress> deserializeIpNullableCollection(JsonReader reader)
                                                              throws IOException
Throws:
IOException

deserializeIpNullableCollection

public static void deserializeIpNullableCollection(JsonReader reader,
                                                   Collection<InetAddress> res)
                                            throws IOException
Throws:
IOException


Copyright © 2018. All rights reserved.