public int getCurrentPage ( ) { try { final int currentPage = _jsonObject . getJSONObject ( META_OBJECT_FIELD ) . getInt ( "current_page" ) ; return currentPage ; } catch ( JSONException ex ) { throw new QuandlRuntimeException ( "Could not find total_count field in results from Quandl" , ex ) ; } }
Get the current page of this result set . You can specify the page number in the request . Throws a QuandlRuntimeException if Quandl response doesn t contain this field although it should .