Interface DownloadFilter
-
public interface DownloadFilter extends Predicate<S3Object>
DownloadFilterallows you to filter out which objects should be downloaded as part of aDownloadDirectoryRequest. You could use it, for example, to only download objects of a given size, of a given file extension, of a given last-modified date, etc. MultipleDownloadFilters can be composed together viaPredicate.and(Predicate)andPredicate.or(Predicate)methods.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static DownloadFilterallObjects()ADownloadFilterthat downloads all objects.booleantest(S3Object s3Object)Evaluate condition the remoteS3Objectshould be downloaded.
-
-
-
Method Detail
-
allObjects
static DownloadFilter allObjects()
ADownloadFilterthat downloads all objects. This is the default behavior if no filter is provided.
-
-