public Object getFragment ( String address , String jsonPath , Object jsonFragment ) { Object jsonFragment2 = null ; if ( ! fragmentCache . containsKey ( address ) ) { jsonFragment2 = read ( jsonPath , jsonFragment ) ; fragmentCache . put ( address , jsonFragment2 ) ; } else { jsonFragment2 = fragmentCache . get ( address ) ; } return jsonFragment2 ; }
Get a JSON fragment from cache .