Package cronapi
Class Utils
- java.lang.Object
-
- cronapi.Utils
-
public class Utils extends Object
Classe que representa ...- Since:
- 2017-03-28
- Version:
- 1.0
- Author:
- Usuário de Teste
-
-
Constructor Summary
Constructors Constructor Description Utils()
-
Method Summary
-
-
-
Method Detail
-
getFileContent
public static StringBuilder getFileContent(FileInputStream fstream) throws Exception
- Throws:
Exception
-
stringToBoolean
public static boolean stringToBoolean(String str)
-
getFromBase64
public static byte[] getFromBase64(String base64)
-
getFromCalendar
public static int getFromCalendar(Date date, int field)
-
getFieldsWithAnnotationCloud
public static List<FieldData> getFieldsWithAnnotationCloud(Object obj)
-
getFieldsWithAnnotationByteHeaderSignature
public static List<String> getFieldsWithAnnotationByteHeaderSignature(Object obj)
-
getAnnotationCloud
public static CronapiCloud getAnnotationCloud(Object obj, String fieldName)
-
getParseDateFormat
public static final DateFormat getParseDateFormat()
-
getDateFormat
public static final DateFormat getDateFormat()
-
getISODateFormat
public static final DateFormat getISODateFormat()
-
mapGetObjectPathExtractElement
public static final Object mapGetObjectPathExtractElement(Object obj, String key, boolean createIfNotExist) throws Exception
- Throws:
Exception
-
mapSetObject
public static final void mapSetObject(Object obj, String key, Object valueToSet) throws Exception
- Throws:
Exception
-
getParamsAndExecuteBlockParams
public static final List<Var> getParamsAndExecuteBlockParams(com.google.gson.JsonObject query, CronapiREST.TranslationPath translationPath)
-
isEntityClass
public static boolean isEntityClass(Object obj)
-
processCloudFields
public static void processCloudFields(Object toSaveParam)
-
-