public class AmazonS3URI extends Object
Constructor and Description |
---|
AmazonS3URI(String str)
Creates a new AmazonS3URI by parsing the given string.
|
AmazonS3URI(URI uri)
Creates a new AmazonS3URI by wrapping the given
URI . |
Modifier and Type | Method and Description |
---|---|
String |
getBucket() |
String |
getKey() |
String |
getRegion() |
URI |
getURI() |
boolean |
isPathStyle() |
String |
toString() |
public AmazonS3URI(String str)
str
- the URI to parse.public AmazonS3URI(URI uri)
URI
.uri
- the URI to wrappublic URI getURI()
public boolean isPathStyle()
public String getBucket()
public String getKey()
public String getRegion()
Copyright © 2016. All rights reserved.