| Package | Description |
|---|---|
| com.azure.storage.file.share |
This package contains the classes to perform actions on Azure Storage File.
|
| com.azure.storage.file.share.specialized |
Package containing specialized clients for Azure Storage Files.
|
| Modifier and Type | Method and Description |
|---|---|
ShareFileClient |
ShareFileClientBuilder.buildFileClient()
Creates a
ShareFileClient based on options set in the builder. |
ShareFileClient |
ShareClient.createFile(String fileName,
long maxSize)
Creates the file in the share with the given name and file max size.
|
ShareFileClient |
ShareDirectoryClient.createFile(String fileName,
long maxSize)
Creates a file in this directory with specific name, max number of results and returns a response of
ShareDirectoryInfo to interact with it.
|
ShareFileClient |
ShareClient.getFileClient(String filePath)
Constructs a
ShareFileClient that interacts with the specified file. |
ShareFileClient |
ShareDirectoryClient.getFileClient(String fileName)
Constructs a ShareFileClient that interacts with the specified file.
|
| Modifier and Type | Method and Description |
|---|---|
ShareLeaseClientBuilder |
ShareLeaseClientBuilder.fileClient(ShareFileClient fileClient)
Configures the builder based on the passed
ShareFileClient. |
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.