return getExtensionFromFilename(key);
String ext = getExtensionFromFilename(key); if (log.isDebugEnabled()) { log.debug("ext="+ext); } return ext;
    public static String getExtensionForType (String type) {        // public methods using param must make sure the propfile is loaded        if (param == null) {            readProperties();	}        // find first match	for (Iterator it = param.keySet().iterator(); it.hasNext();) {            String key = (String) it.next();            if (type.equals(param.getProperty(key))) {                return getExtensionFromFilename(key);            }        }        return null;    }