public class NameValidator extends Object
Constructor and Description |
---|
NameValidator() |
Modifier and Type | Method and Description |
---|---|
static void |
validateBlobName(String blobName)
Checks if a blob name is valid.
|
static void |
validateContainerName(String containerName)
Checks if a container name is valid.
|
static void |
validateDirectoryName(String directoryName)
Checks if a directory name is valid.
|
static void |
validateFileName(String fileName)
Checks if a file name is valid.
|
static void |
validateQueueName(String queueName)
Checks if a queue name is valid.
|
static void |
validateShareName(String shareName)
Checks if a share name is valid.
|
static void |
validateTableName(String tableName)
Checks if a table name is valid.
|
public static void validateContainerName(String containerName)
containerName
- A String representing the container name to validate.public static void validateQueueName(String queueName)
queueName
- A String representing the queue name to validate.public static void validateShareName(String shareName)
shareName
- A String representing the share name to validate.public static void validateBlobName(String blobName)
blobName
- A String representing the blob name to validate.public static void validateFileName(String fileName)
fileName
- A String representing the file name to validate.public static void validateDirectoryName(String directoryName)
directoryName
- A String representing the directory name to validate.public static void validateTableName(String tableName)
tableName
- A String representing the table name to validate./**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/