com.dslplatform.json
Class JavaGeomConverter
java.lang.Object
com.dslplatform.json.JavaGeomConverter
public abstract class JavaGeomConverter
- extends Object
|
Method Summary |
static BufferedImage |
deserializeImage(JsonReader reader)
|
static ArrayList<BufferedImage> |
deserializeImageCollection(JsonReader reader)
|
static void |
deserializeImageCollection(JsonReader reader,
Collection<BufferedImage> res)
|
static ArrayList<BufferedImage> |
deserializeImageNullableCollection(JsonReader reader)
|
static void |
deserializeImageNullableCollection(JsonReader reader,
Collection<BufferedImage> res)
|
static Point2D.Double |
deserializeLocation(JsonReader reader)
|
static ArrayList<Point2D> |
deserializeLocationCollection(JsonReader reader)
|
static void |
deserializeLocationCollection(JsonReader reader,
Collection<Point2D> res)
|
static ArrayList<Point2D> |
deserializeLocationNullableCollection(JsonReader reader)
|
static void |
deserializeLocationNullableCollection(JsonReader reader,
Collection<Point2D> res)
|
static Point |
deserializePoint(JsonReader reader)
|
static ArrayList<Point> |
deserializePointCollection(JsonReader reader)
|
static void |
deserializePointCollection(JsonReader reader,
Collection<Point> res)
|
static ArrayList<Point> |
deserializePointNullableCollection(JsonReader reader)
|
static void |
deserializePointNullableCollection(JsonReader reader,
Collection<Point> res)
|
static Rectangle2D.Double |
deserializeRectangle(JsonReader reader)
|
static ArrayList<Rectangle2D> |
deserializeRectangleCollection(JsonReader reader)
|
static void |
deserializeRectangleCollection(JsonReader reader,
Collection<Rectangle2D> res)
|
static ArrayList<Rectangle2D> |
deserializeRectangleNullableCollection(JsonReader reader)
|
static void |
deserializeRectangleNullableCollection(JsonReader reader,
Collection<Rectangle2D> res)
|
static void |
serialize(Image value,
JsonWriter sw)
|
static void |
serializeLocation(Point2D value,
JsonWriter sw)
|
static void |
serializeLocationNullable(Point2D value,
JsonWriter sw)
|
static void |
serializePoint(Point value,
JsonWriter sw)
|
static void |
serializePointNullable(Point value,
JsonWriter sw)
|
static void |
serializeRectangle(Rectangle2D value,
JsonWriter sw)
|
static void |
serializeRectangleNullable(Rectangle2D value,
JsonWriter sw)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaGeomConverter
public JavaGeomConverter()
serializeLocationNullable
public static void serializeLocationNullable(@Nullable
Point2D value,
JsonWriter sw)
serializeLocation
public static void serializeLocation(Point2D value,
JsonWriter sw)
deserializeLocation
public static Point2D.Double deserializeLocation(JsonReader reader)
throws IOException
- Throws:
IOException
deserializeLocationCollection
public static ArrayList<Point2D> deserializeLocationCollection(JsonReader reader)
throws IOException
- Throws:
IOException
deserializeLocationCollection
public static void deserializeLocationCollection(JsonReader reader,
Collection<Point2D> res)
throws IOException
- Throws:
IOException
deserializeLocationNullableCollection
public static ArrayList<Point2D> deserializeLocationNullableCollection(JsonReader reader)
throws IOException
- Throws:
IOException
deserializeLocationNullableCollection
public static void deserializeLocationNullableCollection(JsonReader reader,
Collection<Point2D> res)
throws IOException
- Throws:
IOException
serializePointNullable
public static void serializePointNullable(@Nullable
Point value,
JsonWriter sw)
serializePoint
public static void serializePoint(Point value,
JsonWriter sw)
deserializePoint
public static Point deserializePoint(JsonReader reader)
throws IOException
- Throws:
IOException
deserializePointCollection
public static ArrayList<Point> deserializePointCollection(JsonReader reader)
throws IOException
- Throws:
IOException
deserializePointCollection
public static void deserializePointCollection(JsonReader reader,
Collection<Point> res)
throws IOException
- Throws:
IOException
deserializePointNullableCollection
public static ArrayList<Point> deserializePointNullableCollection(JsonReader reader)
throws IOException
- Throws:
IOException
deserializePointNullableCollection
public static void deserializePointNullableCollection(JsonReader reader,
Collection<Point> res)
throws IOException
- Throws:
IOException
serializeRectangleNullable
public static void serializeRectangleNullable(@Nullable
Rectangle2D value,
JsonWriter sw)
serializeRectangle
public static void serializeRectangle(Rectangle2D value,
JsonWriter sw)
deserializeRectangle
public static Rectangle2D.Double deserializeRectangle(JsonReader reader)
throws IOException
- Throws:
IOException
deserializeRectangleCollection
public static ArrayList<Rectangle2D> deserializeRectangleCollection(JsonReader reader)
throws IOException
- Throws:
IOException
deserializeRectangleCollection
public static void deserializeRectangleCollection(JsonReader reader,
Collection<Rectangle2D> res)
throws IOException
- Throws:
IOException
deserializeRectangleNullableCollection
public static ArrayList<Rectangle2D> deserializeRectangleNullableCollection(JsonReader reader)
throws IOException
- Throws:
IOException
deserializeRectangleNullableCollection
public static void deserializeRectangleNullableCollection(JsonReader reader,
Collection<Rectangle2D> res)
throws IOException
- Throws:
IOException
serialize
public static void serialize(@Nullable
Image value,
JsonWriter sw)
deserializeImage
public static BufferedImage deserializeImage(JsonReader reader)
throws IOException
- Throws:
IOException
deserializeImageCollection
public static ArrayList<BufferedImage> deserializeImageCollection(JsonReader reader)
throws IOException
- Throws:
IOException
deserializeImageCollection
public static void deserializeImageCollection(JsonReader reader,
Collection<BufferedImage> res)
throws IOException
- Throws:
IOException
deserializeImageNullableCollection
public static ArrayList<BufferedImage> deserializeImageNullableCollection(JsonReader reader)
throws IOException
- Throws:
IOException
deserializeImageNullableCollection
public static void deserializeImageNullableCollection(JsonReader reader,
Collection<BufferedImage> res)
throws IOException
- Throws:
IOException
Copyright © 2019. All rights reserved.