Package examples
Class WalkFromRoot
- java.lang.Object
-
- examples.WalkFromRoot
-
public class WalkFromRoot extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description WalkFromRoot()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Walks a bucket from the root listing all directories and files.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.io.IOExceptionWalks a bucket from the root listing all directories and files. Internally uses theS3FileSystemProvider'snewDirectoryStream()method which uses asynchronous paginated calls to S3.- Parameters:
args- provide a bucket name to walk- Throws:
java.io.IOException- if a communication problem happens with the S3 service.
-
-