net.sf.basedb.util.extensions
Class ExtensionsUtil
java.lang.Object
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) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtensionsUtil
public ExtensionsUtil()
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