c

geotrellis.store.s3

AmazonS3URI

class AmazonS3URI extends AnyRef

A URI wrapper that can parse out information about an S3 URI.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AmazonS3URI
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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

  2. 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

  3. new AmazonS3URI(str: String)

Value Members

  1. def equals(o: Any): Boolean
    Definition Classes
    AmazonS3URI → AnyRef → Any
    Annotations
    @Override()
  2. def getBucket(): String

    returns

    the bucket name parsed from the URI (or null if no bucket specified)

  3. def getKey(): String

    returns

    the key parsed from the URI (or null if no key specified)

  4. def getRegion(): String

    returns

    the region parsed from the URI (or null if no region specified)

  5. def getURI(): URI

    returns

    the S3 URI being parsed

  6. def getVersionId(): String

    returns

    the version id parsed from the URI (or null if no version specified)

  7. def hashCode(): Int
    Definition Classes
    AmazonS3URI → AnyRef → Any
    Annotations
    @Override()
  8. def isPathStyle(): Boolean

    returns

    true if the URI contains the bucket in the path, false if it contains the bucket in the authority

  9. def toString(): String
    Definition Classes
    AmazonS3URI → AnyRef → Any
    Annotations
    @Override()