public static String getModuleUID(String templateName) {
        // /com/ibm/websphere/pmi/beanModule.xml -> com.ibm.websphere.pmi.beanModule
        String ftype = templateName.replace('/', '.');

        // replace first '.'
        if (ftype.charAt(0) == '.') {
            ftype = ftype.substring(1);
        }

        // cut last ".xml"
        return ftype.substring(0, ftype.length() - 4);
    }
public static String getModuleUID ( String templateName ) { String ftype = templateName . replace ( '/' , '.' ) ; if ( ftype . charAt ( 0 ) == '.' ) { ftype = ftype . substring ( 1 ) ; } return ftype . substring ( 0 , ftype . length ( ) - 4 ) ; }
VELA