Package org.apache.fop.fonts
Class FontManagerConfigurator.FontFamilyRegExFontTripletMatcher
- java.lang.Object
-
- org.apache.fop.fonts.FontManagerConfigurator.FontFamilyRegExFontTripletMatcher
-
- All Implemented Interfaces:
FontTriplet.Matcher
- Enclosing class:
- FontManagerConfigurator
private static class FontManagerConfigurator.FontFamilyRegExFontTripletMatcher extends java.lang.Object implements FontTriplet.Matcher
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.regex.Pattern
regex
-
Constructor Summary
Constructors Constructor Description FontFamilyRegExFontTripletMatcher(java.lang.String regex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(FontTriplet triplet)
Indicates whether the givenFontTriplet
matches a particular criterium.
-
-
-
Method Detail
-
matches
public boolean matches(FontTriplet triplet)
Indicates whether the givenFontTriplet
matches a particular criterium.- Specified by:
matches
in interfaceFontTriplet.Matcher
- Parameters:
triplet
- the font triplet- Returns:
- true if the font triplet is a match
-
-