ParserUtility.validateId(String id) 方法

public static void validateId(String id)

Validate if a provided ID is valid using the follow criteria. A case-sensitive string (up to 128 char long) of ASCII 7-bit alphanumeric chars + {'-', ':', '.', '+', '', '_', '#', '*', '?', '!', '(', ')', ',', '=', '@', ';', '$', '''}.

参数

id
String

is the ID to test

例外

IllegalArgumentException

if the ID do not fits the criteria

适用于