java.lang.Object
it.auties.whatsapp.util.Smile
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.fasterxml.jackson.databind.ObjectMapper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TreadValue(byte[] value, com.fasterxml.jackson.core.type.TypeReference<T> clazz) static <T> Tstatic <T> TreadValue(InputStream inputStream, com.fasterxml.jackson.core.type.TypeReference<T> clazz) static <T> TreadValue(InputStream inputStream, Class<T> clazz) static voidwriteValueAsBytes(OutputStream outputStream, Object object) static byte[]writeValueAsBytes(Object object)
-
Field Details
-
smile
private static final com.fasterxml.jackson.databind.ObjectMapper smile
-
-
Constructor Details
-
Smile
public Smile()
-
-
Method Details
-
writeValueAsBytes
- Throws:
IOException
-
writeValueAsBytes
- Throws:
IOException
-
readValue
- Throws:
IOException
-
readValue
- Throws:
IOException
-
readValue
public static <T> T readValue(byte[] value, com.fasterxml.jackson.core.type.TypeReference<T> clazz) throws IOException - Throws:
IOException
-
readValue
public static <T> T readValue(InputStream inputStream, com.fasterxml.jackson.core.type.TypeReference<T> clazz) throws IOException - Throws:
IOException
-