public SearchResult searchSheet ( long sheetId , String query ) throws SmartsheetException { Util . throwIfNull ( query ) ; Util . throwIfEmpty ( query ) ; try { return this . getResource ( "search/sheets/" + sheetId + "?query=" + URLEncoder . encode ( query , "utf-8" ) , SearchResult . class ) ; } catch ( UnsupportedEncodingException e ) { throw new RuntimeException ( e ) ; } }
Performs a search within a sheet .