Class FeatureCollectionAdapter
- java.lang.Object
-
- com.google.gson.TypeAdapter<FeatureCollection>
-
- com.github.filosganga.geogson.gson.FeatureCollectionAdapter
-
public final class FeatureCollectionAdapter extends com.google.gson.TypeAdapter<FeatureCollection>
The Gson TypeAdapter to serialize/de-serializeFeatureCollectioninstances.
-
-
Constructor Summary
Constructors Constructor Description FeatureCollectionAdapter(com.google.gson.Gson gson)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeatureCollectionread(com.google.gson.stream.JsonReader in)voidwrite(com.google.gson.stream.JsonWriter out, FeatureCollection value)
-
-
-
Method Detail
-
write
public void write(com.google.gson.stream.JsonWriter out, FeatureCollection value) throws IOException- Specified by:
writein classcom.google.gson.TypeAdapter<FeatureCollection>- Throws:
IOException
-
read
public FeatureCollection read(com.google.gson.stream.JsonReader in) throws IOException
- Specified by:
readin classcom.google.gson.TypeAdapter<FeatureCollection>- Throws:
IOException
-
-