Package com.codedjson.utils
Class Decode
- java.lang.Object
- 
- com.codedjson.utils.Base
- 
- com.codedjson.utils.Is
- 
- com.codedjson.Json
- 
- com.codedjson.utils.Decode
 
 
 
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected List<String>runtimeVals- 
Fields inherited from class com.codedjson.Jsonjson, jsonKeys, jsonValues
 - 
Fields inherited from class com.codedjson.utils.BasebaseFileObj, commaSeparatedLines, commentedLines, content, filePath, gson, isContextConverted, isFilePath, isInjectDone, isInjectExist
 
- 
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddecodeKeywords()protected StringdecodeRelativePathValues(String content)protected static StringgetAsString(Object object)Master function to convert JAVA object to JSON stringprotected booleanisRuntimeKeysExist(String content)protected voidremoveWithKey(String key)protected StringreplaceContent(String content, String key, Object value)protected StringreplaceContent(String content, HashMap<String,Object> injectingObj)- 
Methods inherited from class com.codedjson.JsongetAllKeys, getAllValues, getValueFromKey, isContentJson, isContentJson, isContentJson, parse, parse, parseValue
 - 
Methods inherited from class com.codedjson.utils.IsisImport, isRelativeJPath, isSingleLineComent
 - 
Methods inherited from class com.codedjson.utils.BaseappendPath, getDirectory, getFullPath, getType, isAbsolutePath, parseJson, read
 
- 
 
- 
- 
- 
Constructor Detail- 
Decodepublic Decode(String filePath, boolean isFilePath) throws FileNotFoundException - Throws:
- FileNotFoundException
 
 - 
Decodepublic Decode(String filePath) 
 
- 
 - 
Method Detail- 
decodeKeywordsprotected void decodeKeywords() throws AbsolutePathConstraintError, FileNotFoundException, IllegalJsonType
 - 
replaceContentprotected String replaceContent(String content, HashMap<String,Object> injectingObj) 
 - 
removeWithKeyprotected void removeWithKey(String key) 
 - 
getAsStringprotected static String getAsString(Object object) throws IllegalAccessException Master function to convert JAVA object to JSON string- Parameters:
- object-
- Returns:
- Throws:
- IllegalAccessException
 
 - 
isRuntimeKeysExistprotected boolean isRuntimeKeysExist(String content) 
 
- 
 
-