ParserUtility.validateStringUTF8(String str) 方法

定义

Helper to validate if the provided string is not null, empty, and all characters are UTF-8.

public static void validateStringUTF8(String str)

参数

str
String

is the string to be validated.

例外

IllegalArgumentException

if the string do not fit the criteria.

适用于