Region.findByLabelOrName(String labelOrName) 方法

定义

Finds a region based on a label or name.

A region name is lower-cased label with spaces removed.

public static Region findByLabelOrName(String labelOrName)

参数

labelOrName
String

the region name or label

返回

the found region or null if there's no such region

适用于