Listing sub folders files path in an s3 bucket
<p>I have an s3 structure as follows:</p>

<p>s3bucketname -> List of first level keys -> List of second level keys -> List of third level keys -> Actual file.</p>

<p>What I need to do is that given the name of the s3bucket and an entry for the first level key and third level I need the path of all file that qualify this condition i.e. some kind of wildcard for second level keys</p>

<p>Can somebody point out how to do it in java?</p>

<p>Thanks</p>