C# 클래스 Amazon.S3.Util.AmazonS3Uri

Uri wrapper that can parse out information (bucket, key, region, style) from an S3 URI.
파일 보기 프로젝트 열기: aws/aws-sdk-net 1 사용 예제들

공개 메소드들

메소드 설명
AmazonS3Uri ( Uri uri ) : System

Constructs a parser for the S3 URI specified as a Uri instance.

AmazonS3Uri ( string uri ) : System

Constructs a parser for the S3 URI specified as a string.

IsAmazonS3Endpoint ( Uri uri ) : bool

Checks whether the given URI is a Amazon S3 URI.

IsAmazonS3Endpoint ( string uri ) : bool

Checks whether the given URI is a Amazon S3 URI.

TryParseAmazonS3Uri ( Uri uri, AmazonS3Uri &amazonS3Uri ) : bool

If the given Uri is an AmazonS3Endpoint return true and set the AmazonS3Uri out parameter.

TryParseAmazonS3Uri ( string uri, AmazonS3Uri &amazonS3Uri ) : bool

If the given string is an AmazonS3Endpoint return true and set the AmazonS3Uri out parameter.

비공개 메소드들

메소드 설명
AppendDecoded ( StringBuilder builder, string s, int index ) : void

Decodes the percent-encoded character at the given index in the string and appends the decoded value to the string under construction.

Decode ( string s ) : string

Percent-decodes the given string, with a fast path for strings that are not percent-encoded.

Decode ( string s, int firstPercent ) : string

Percent-decodes the given string.

FromHex ( char c ) : int

Converts a hex character (0-9A-Fa-f) into its corresponding quad value.

메소드 상세

AmazonS3Uri() 공개 메소드

Constructs a parser for the S3 URI specified as a Uri instance.
public AmazonS3Uri ( Uri uri ) : System
uri System.Uri The S3 URI to be parsed.
리턴 System

AmazonS3Uri() 공개 메소드

Constructs a parser for the S3 URI specified as a string.
public AmazonS3Uri ( string uri ) : System
uri string The S3 URI to be parsed.
리턴 System

IsAmazonS3Endpoint() 공개 정적인 메소드

Checks whether the given URI is a Amazon S3 URI.
public static IsAmazonS3Endpoint ( Uri uri ) : bool
uri System.Uri The S3 URI to be checked.
리턴 bool

IsAmazonS3Endpoint() 공개 정적인 메소드

Checks whether the given URI is a Amazon S3 URI.
public static IsAmazonS3Endpoint ( string uri ) : bool
uri string The S3 URI to be checked.
리턴 bool

TryParseAmazonS3Uri() 공개 정적인 메소드

If the given Uri is an AmazonS3Endpoint return true and set the AmazonS3Uri out parameter.
public static TryParseAmazonS3Uri ( Uri uri, AmazonS3Uri &amazonS3Uri ) : bool
uri System.Uri
amazonS3Uri AmazonS3Uri
리턴 bool

TryParseAmazonS3Uri() 공개 정적인 메소드

If the given string is an AmazonS3Endpoint return true and set the AmazonS3Uri out parameter.
public static TryParseAmazonS3Uri ( string uri, AmazonS3Uri &amazonS3Uri ) : bool
uri string
amazonS3Uri AmazonS3Uri
리턴 bool