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 non-folder objects.booleantest(S3Object s3Object)Evaluate condition the remoteS3Objectshould be downloaded.
-
-
-
Method Detail
-
allObjects
static DownloadFilter allObjects()
ADownloadFilterthat downloads all non-folder objects. A folder is a 0-byte object created when a customer uses S3 console to create a folder, and it always ends with "/".This is the default behavior if no filter is provided.
-
-