Class ExtensionsUtil


  • public class ExtensionsUtil
    extends Object
    Utility class collecting some useful functions related to extensions.
    Since:
    3.0
    Author:
    Nicklas
    Last modified
    $Date: 2015-04-20 11:08:18 +0200 (må, 20 apr 2015) $
    • Constructor Detail

      • ExtensionsUtil

        public ExtensionsUtil()
    • Method Detail

      • getName

        public static String getName​(Extension<?> ext)
        Get the name of the extension. This will first check if Extension.getAbout() contains a name and use that. Otherwise, the id is used as the name.
        Parameters:
        ext - An extension
        Returns:
        The name or id of the extension