CloudFileDirectory Constructors

定义

重载

CloudFileDirectory(final StorageUri directoryAbsoluteUri)

Creates an instance of the class using an absolute URI to the directory.

CloudFileDirectory(final StorageUri directoryAbsoluteUri, final StorageCredentials credentials)

Creates an instance of the class using an absolute URI to the directory and credentials.

CloudFileDirectory(final StorageUri uri, final String directoryName, final CloudFileShare share)

Creates an instance of the class using the specified address, share, and client.

CloudFileDirectory(final URI directoryAbsoluteUri)

Creates an instance of the class using an absolute URI to the directory.

CloudFileDirectory(final URI directoryAbsoluteUri, final StorageCredentials credentials)

Creates an instance of the class using an absolute URI to the directory and credentials.

CloudFileDirectory(final StorageUri directoryAbsoluteUri)

Creates an instance of the class using an absolute URI to the directory.

public CloudFileDirectory(final StorageUri directoryAbsoluteUri)
参数
directoryAbsoluteUri
final StorageUri

A StorageUri that represents the file directory's address.

异常
StorageException
URISyntaxException

CloudFileDirectory(final StorageUri directoryAbsoluteUri, final StorageCredentials credentials)

Creates an instance of the class using an absolute URI to the directory and credentials.

public CloudFileDirectory(final StorageUri directoryAbsoluteUri, final StorageCredentials credentials)
参数
directoryAbsoluteUri
final StorageUri

A StorageUri that represents the file directory's address.

credentials
final StorageCredentials

A StorageCredentials object used to authenticate access.

异常
StorageException
URISyntaxException

CloudFileDirectory(final StorageUri uri, final String directoryName, final CloudFileShare share)

Creates an instance of the class using the specified address, share, and client.

protected CloudFileDirectory(final StorageUri uri, final String directoryName, final CloudFileShare share)
参数
uri
final StorageUri

A StorageUri that represents the file directory's address.

directoryName
final String

A String that represents the name of the directory.

share
final CloudFileShare

A CloudFileShare object that represents the associated file share.

CloudFileDirectory(final URI directoryAbsoluteUri)

Creates an instance of the class using an absolute URI to the directory.

public CloudFileDirectory(final URI directoryAbsoluteUri)
参数
directoryAbsoluteUri
final URI

A URI that represents the file directory's address.

异常
StorageException
URISyntaxException

CloudFileDirectory(final URI directoryAbsoluteUri, final StorageCredentials credentials)

Creates an instance of the class using an absolute URI to the directory and credentials.

public CloudFileDirectory(final URI directoryAbsoluteUri, final StorageCredentials credentials)
参数
directoryAbsoluteUri
final URI

A URI that represents the file directory's address.

credentials
final StorageCredentials

A StorageCredentials object used to authenticate access.

异常
StorageException
URISyntaxException

适用于