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 Object implements FontTriplet.Matcher
  • Field Details

    • regex

      private final Pattern regex
  • Constructor Details

    • FontFamilyRegExFontTripletMatcher

      public FontFamilyRegExFontTripletMatcher(String regex)
  • Method Details

    • matches

      public boolean matches(FontTriplet triplet)
      Indicates whether the given FontTriplet matches a particular criterium.
      Specified by:
      matches in interface FontTriplet.Matcher
      Parameters:
      triplet - the font triplet
      Returns:
      true if the font triplet is a match