Interface RegionMetadataSource
- All Known Subinterfaces:
MetadataSource
- All Known Implementing Classes:
MetadataSourceImpl
,RegionMetadataSourceImpl
public interface RegionMetadataSource
A source of phone metadata split by geographical regions.
-
Method Summary
Modifier and TypeMethodDescriptiongetMetadataForRegion
(String regionCode) Returns phone metadata for provided geographical region.
-
Method Details
-
getMetadataForRegion
Returns phone metadata for provided geographical region.The
regionCode
must be different fromGeoEntityUtility.REGION_CODE_FOR_NON_GEO_ENTITIES
, which has a special meaning and is used to mark non-geographical regions (seeNonGeographicalEntityMetadataSource
for more information).- Returns:
- the phone metadata for provided
regionCode
, or null if there is none. - Throws:
IllegalArgumentException
- if providedregionCode
isGeoEntityUtility.REGION_CODE_FOR_NON_GEO_ENTITIES
-