I'm trying to build Java app that search for files including a "word" in a content of files inside dropbox folder.
As we can see in Dropbox docs:
https://www.dropbox.com/developers/documentation/http#documentation-files-search
we can do that using "filename_and_content".
I suppose that the fragment of Java code allowing to set "filename_and_content" should look like this:
SearchBuilder searchBuilder = client.files.searchBuilder("/duke/duke/Daily_Activity_Reports", "plik");
searchBuilder.mode(Files.SearchMode.filenameAndContent);
But how should I use this SearchBuilder in searching?