Class FontExtensionsRegistry

  • All Implemented Interfaces:
    ExtensionsRegistry

    public class FontExtensionsRegistry
    extends java.lang.Object
    implements ExtensionsRegistry
    Author:
    Teodor Danciu (teodord@users.sourceforge.net)
    • Constructor Summary

      Constructors 
      Constructor Description
      FontExtensionsRegistry​(java.util.List<java.lang.String> fontFamiliesLocations)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void ensureFontExtensions()  
      <T> java.util.List<T> getExtensions​(java.lang.Class<T> extensionType)
      Returns a list of extension objects for a specific extension type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FontExtensionsRegistry

        public FontExtensionsRegistry​(java.util.List<java.lang.String> fontFamiliesLocations)
    • Method Detail

      • getExtensions

        public <T> java.util.List<T> getExtensions​(java.lang.Class<T> extensionType)
        Description copied from interface: ExtensionsRegistry
        Returns a list of extension objects for a specific extension type.
        Specified by:
        getExtensions in interface ExtensionsRegistry
        Type Parameters:
        T - generic extension type
        Parameters:
        extensionType - the extension type
        Returns:
        a list of extension objects
      • ensureFontExtensions

        protected void ensureFontExtensions()