public class GoogleCloudStorageConnectorUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
nullValuesOrEmptyStringValidator(String errorMessage,
Object... values)
Validate that there are no null values or empty Strings
|
static <T> T[] |
returnOrInitializeArray(Class<T> clazz,
List<T> input) |
public static <T> T[] returnOrInitializeArray(Class<T> clazz, List<T> input)
public static void nullValuesOrEmptyStringValidator(String errorMessage, Object... values) throws IllegalArgumentException
errorMessage
- to attach to the exceptionvalues
- with the list of objects to validateIllegalArgumentException
- When any of the provided values is null.Copyright © 2010–2018. All rights reserved.