Package edu.byu.hbll.box.client
Interface BoxClient
-
- All Known Implementing Classes:
AbstractHttpBoxClient
,HttpBoxClient
public interface BoxClient
A client for interacting with a Box server.- Author:
- Charles Draper
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default QueryResult
collect(BoxQuery query)
Collects and returns all documents found according to the given query.Iterable<BoxDocument>
find(BoxQuery query)
Returns documents found according to the given query in the form of anIterable
.default Stream<BoxDocument>
stream(BoxQuery query)
Returns documents found according to the given query in the form of aStream
.
-
-
-
Method Detail
-
collect
default QueryResult collect(BoxQuery query)
Collects and returns all documents found according to the given query.- Parameters:
query
- the query- Returns:
- the results
-
stream
default Stream<BoxDocument> stream(BoxQuery query)
Returns documents found according to the given query in the form of aStream
.- Parameters:
query
- the query- Returns:
- the results
-
find
Iterable<BoxDocument> find(BoxQuery query)
Returns documents found according to the given query in the form of anIterable
.- Parameters:
query
- the query- Returns:
- the results
-
-