private String retrieveFromCache(String url) {
        String savedJson;

        savedJson = mCacheQueryHandler.get(getContext(), url);
        log("---------- body found in offline saver : " + savedJson);
        log("----- NO NETWORK : retrieving ends");
        return savedJson;
    }
private String retrieveFromCache ( String url ) { String savedJson ; savedJson = mCacheQueryHandler . get ( getContext ( ) , url ) ; log ( "---------- body found in offline saver : " + savedJson ) ; log ( "----- NO NETWORK : retrieving ends" ) ; return savedJson ; }
Get a saved body for a given url.

@param url url for which we need to retrieve the response body in offline mode.
@return response body as string.