public class S3Uri
extends Object
S3 URI parser.
-
Constructor Summary
Constructors
Creates a new S3URI in the form of scheme://bucket/key.
-
Method Summary
Returns S3 object key name.
Returns original, unmodified S3 URI location.
Returns the original scheme provided in the location.
-
Constructor Details
-
S3Uri
Creates a new S3URI in the form of scheme://bucket/key.
- Parameters:
location - Fully qualified URI.
-
Method Details
-
bucket
Returns S3 bucket name.
-
key
Returns S3 object key name.
-
location
Returns original, unmodified S3 URI location.
-
scheme
Returns the original scheme provided in the location.
- Returns:
- URI scheme.
-