T
- needs to extend MetadataContainer
public interface MetadataBootstrappingGuard<T extends com.google.i18n.phonenumbers.metadata.source.MetadataContainer>
Modifier and Type | Method and Description |
---|---|
T |
getOrBootstrap(java.lang.String phoneMetadataFile)
If metadata from the provided file has not yet been read, invokes loading and parsing from the
provided file and adds the result to guarded
MetadataContainer . |
T getOrBootstrap(java.lang.String phoneMetadataFile)
MetadataContainer
.phoneMetadataFile
- to read fromMetadataContainer
Copyright © 2022 Google. All Rights Reserved.