public final class Strings extends Object
Constructor and Description |
---|
Strings() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isNullOrEmpty(String arg)
Determines whether the parameter string is either null or empty.
|
static boolean |
isNullOrWhiteSpace(String arg)
Determines whether the parameter string is null, empty or whitespace.
|
public static boolean isNullOrEmpty(String arg)
arg
- The string to be checked.public static boolean isNullOrWhiteSpace(String arg)
arg
- The string to be checked./**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/