3.2.1: 2012-12-13

net.sf.basedb.util.extensions
Class ExtensionsUtil

java.lang.Object
  extended by net.sf.basedb.util.extensions.ExtensionsUtil

public class ExtensionsUtil
extends Object

Utility class collecting some useful functions related to extensions.

Since:
3.0
Author:
Nicklas
Last modified
$Date: 2011-03-31 13:38:56 +0200 (Thu, 31 Mar 2011) $

Constructor Summary
ExtensionsUtil()
           
 
Method Summary
static String getName(Extension ext)
          Get the name of the extension.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

3.2.1: 2012-12-13