class AmazonS3URI extends AnyRef
A URI wrapper that can parse out information about an S3 URI.
- Alphabetic
- By Inheritance
- AmazonS3URI
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
AmazonS3URI(uri: URI)
Creates a new AmazonS3URI by wrapping the given
URI
.Creates a new AmazonS3URI by wrapping the given
URI
.- uri
the URI to wrap
-
new
AmazonS3URI(str: String, urlEncode: Boolean)
Creates a new AmazonS3URI by parsing the given string.
Creates a new AmazonS3URI by parsing the given string. String will optionally be URL encoded before generating the URI. URL encoding is recommended if you work with bucket names or object keys with special characters. This can be disabled if you pre-encode URI strings before passing them to this class.
- str
the URI to parse.
- urlEncode
true if string should be URL encoded
- new AmazonS3URI(str: String)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(o: Any): Boolean
- Definition Classes
- AmazonS3URI → AnyRef → Any
- Annotations
- @Override()
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getBucket(): String
- returns
the bucket name parsed from the URI (or null if no bucket specified)
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getKey(): String
- returns
the key parsed from the URI (or null if no key specified)
-
def
getRegion(): String
- returns
the region parsed from the URI (or null if no region specified)
-
def
getURI(): URI
- returns
the S3 URI being parsed
-
def
getVersionId(): String
- returns
the version id parsed from the URI (or null if no version specified)
-
def
hashCode(): Int
- Definition Classes
- AmazonS3URI → AnyRef → Any
- Annotations
- @Override()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPathStyle(): Boolean
- returns
true if the URI contains the bucket in the path, false if it contains the bucket in the authority
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AmazonS3URI → AnyRef → Any
- Annotations
- @Override()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()