public final class ParametersStringFontMapping extends Object implements FontMapping
FontMapping.Output<T>| Constructor and Description |
|---|
ParametersStringFontMapping(ParametersString parametersString) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
applicableTo(LocalePair pair)
Checks whether the font mapping is applicable to a locale pair.
|
boolean |
applicableTo(String sourceFont)
Checks whether the font mapping is applicable to a source font.
|
String |
targetFont()
Obtains a target font.
|
<T> T |
writtenTo(FontMapping.Output<T> output)
Obtains the font mapping output with the written font mapping to it.
|
public ParametersStringFontMapping(ParametersString parametersString)
public boolean applicableTo(LocalePair pair)
Empty target font name values are ignored.
applicableTo in interface FontMappingpair - The locale pairtrue if the mapping is applicable to the locale pair
and false otherwisepublic boolean applicableTo(String sourceFont)
FontMappingapplicableTo in interface FontMappingtrue if the mapping is applicable to the source font
and false otherwisepublic String targetFont()
FontMappingtargetFont in interface FontMappingpublic <T> T writtenTo(FontMapping.Output<T> output)
FontMappingwrittenTo in interface FontMappingoutput - The outputCopyright © 2021. All rights reserved.