org.argouml.util
Class Tools
java.lang.Object
org.argouml.util.Tools
- public class Tools
- extends Object
Some tools thrown together...
Constructor Summary |
Tools()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
private static final Logger LOG
- logger
PACKAGELIST
private static final String[] PACKAGELIST
Tools
public Tools()
getComponentVersionInfo
private static void getComponentVersionInfo(StringBuffer sb,
String pn)
getVersionInfo
public static String getVersionInfo()
- Returns:
- a String containing the version information
logVersionInfo
public static void logVersionInfo()
- Print out some version info for debugging.
getFileExtension
public static String getFileExtension(File file)
- getFileExtension returns the file extension of a file.
- Parameters:
file
- the File to examine
- Returns:
- extension including the dot, or null