diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2020-03-26 12:36:36 +0100 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2020-03-26 12:36:36 +0100 |
commit | a382287bb7f061bb2a26c095e8e17b324efcb4cf (patch) | |
tree | 9c08bbd33842597b6748f46a5bf2033313ef6819 /eaaf_core/src/main/java/at/gv/egiz/eaaf/core/api/utils | |
parent | 726e0837ca6cd9586f8b85aceca91487a9105216 (diff) | |
download | EAAF-Components-a382287bb7f061bb2a26c095e8e17b324efcb4cf.tar.gz EAAF-Components-a382287bb7f061bb2a26c095e8e17b324efcb4cf.tar.bz2 EAAF-Components-a382287bb7f061bb2a26c095e8e17b324efcb4cf.zip |
fix codestyle
Diffstat (limited to 'eaaf_core/src/main/java/at/gv/egiz/eaaf/core/api/utils')
-rw-r--r-- | eaaf_core/src/main/java/at/gv/egiz/eaaf/core/api/utils/IJsonMapper.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/api/utils/IJsonMapper.java b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/api/utils/IJsonMapper.java index a7e4f6fe..b3e0c88f 100644 --- a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/api/utils/IJsonMapper.java +++ b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/api/utils/IJsonMapper.java @@ -3,6 +3,8 @@ package at.gv.egiz.eaaf.core.api.utils; import java.io.IOException; import java.io.InputStream; +import com.google.gson.JsonParseException; + import at.gv.egiz.eaaf.core.exceptions.EaafJsonMapperException; public interface IJsonMapper { @@ -23,6 +25,7 @@ public interface IJsonMapper { * @param value the JSON string to deserialize * @param clazz optional parameter that determines the type of the returned * object. If not set, an {@link Object} is returned. + * @param <T> Response class type * @return the deserialized JSON string as an object of type {@code clazz} or * {@link Object} * @throws JsonParseException if the JSON string contains invalid content. @@ -39,6 +42,7 @@ public interface IJsonMapper { * @param is the JSON to deserialize as {@link InputStream} * @param clazz optional parameter that determines the type of the returned * object. If not set, an {@link Object} is returned. + * @param <T> Response class type * @return the deserialized JSON string as an object of type {@code clazz} or * {@link Object} * @throws JsonParseException if the JSON string contains invalid content. |