C# Class Oss.Utilities.OssUtils

显示文件 Open project: zhongleiyang/OssSDK-.net-4.5

Public Properties

Property Type Description
DefaultEndpoint System.Uri

Public Methods

Method Description
IsBucketNameValid ( string bucketName ) : bool
IsObjectKeyValid ( string key ) : bool
MakeResourcePath ( string bucket, string key ) : string
TrimETag ( string eTag ) : string

Private Methods

Method Description
UrlEncodeKey ( string key ) : string

Method Details

IsBucketNameValid() public static method

public static IsBucketNameValid ( string bucketName ) : bool
bucketName string
return bool

IsObjectKeyValid() public static method

public static IsObjectKeyValid ( string key ) : bool
key string
return bool

MakeResourcePath() public static method

public static MakeResourcePath ( string bucket, string key ) : string
bucket string
key string
return string

TrimETag() public static method

public static TrimETag ( string eTag ) : string
eTag string
return string

Property Details

DefaultEndpoint public_oe static_oe property

public static Uri,System DefaultEndpoint
return System.Uri