Package de.alpharogroup.gson.factory
Class GsonFactory
- java.lang.Object
-
- de.alpharogroup.gson.factory.GsonFactory
-
public class GsonFactory extends java.lang.ObjectThe factory classGsonFactoryfor creatingGsonobjects
-
-
Constructor Summary
Constructors Constructor Description GsonFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.google.gson.GsonnewGson()Factory method for create a newGsonstatic com.google.gson.GsonnewGson(com.google.gson.ExclusionStrategy exclusionStrategy, java.lang.String pattern)Factory method for create a newGson
-
-
-
Method Detail
-
newGson
public static com.google.gson.Gson newGson()
Factory method for create a newGson- Returns:
- the new
Gsonobject
-
newGson
public static com.google.gson.Gson newGson(com.google.gson.ExclusionStrategy exclusionStrategy, java.lang.String pattern)Factory method for create a newGson- Parameters:
exclusionStrategy- the exclusion strategypattern- the date pattern- Returns:
- the new
Gsonobject
-
-