NameValidator Class
- java.
lang. Object - com.
microsoft. azure. storage. NameValidator
- com.
public class NameValidator
Provides helpers to validate resource names across the Microsoft Azure Storage Services.
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
validateBlobName(String blobName)
Checks if a blob name is valid. |
void |
validateContainerName(String containerName)
Checks if a container name is valid. |
void |
validateDirectoryName(String directoryName)
Checks if a directory name is valid. |
void |
validateFileName(String fileName)
Checks if a file name is valid. |
void |
validateQueueName(String queueName)
Checks if a queue name is valid. |
void |
validateShareName(String shareName)
Checks if a share name is valid. |
void |
validateTableName(String tableName)
Checks if a table name is valid. |
Method Details
validateBlobName
public static void validateBlobName(String blobName)
Checks if a blob name is valid.
Parameters:
validateContainerName
public static void validateContainerName(String containerName)
Checks if a container name is valid.
Parameters:
validateDirectoryName
public static void validateDirectoryName(String directoryName)
Checks if a directory name is valid.
Parameters:
validateFileName
public static void validateFileName(String fileName)
Checks if a file name is valid.
Parameters:
validateQueueName
public static void validateQueueName(String queueName)
Checks if a queue name is valid.
Parameters:
validateShareName
public static void validateShareName(String shareName)
Checks if a share name is valid.
Parameters:
validateTableName
public static void validateTableName(String tableName)
Checks if a table name is valid.
Parameters:
Applies to
Azure SDK for Java