public class AmazonS3URI extends Object
Constructor and Description |
---|
AmazonS3URI(String str)
Creates a new AmazonS3URI by parsing the given string.
|
AmazonS3URI(String str,
boolean urlEncode)
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 |
---|---|
boolean |
equals(Object o) |
String |
getBucket() |
String |
getKey() |
String |
getRegion() |
URI |
getURI() |
String |
getVersionId() |
int |
hashCode() |
boolean |
isPathStyle() |
String |
toString() |
public AmazonS3URI(String str)
str
- the URI to parse.public AmazonS3URI(String str, boolean urlEncode)
str
- the URI to parse.urlEncode
- true if string should be URL encodedpublic AmazonS3URI(URI uri)
URI
.uri
- the URI to wrappublic URI getURI()
public boolean isPathStyle()
public String getBucket()
public String getKey()
public String getVersionId()
public String getRegion()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.