public static String getModuleName ( final String moduleId ) { final int splitter = moduleId . indexOf ( ' ' ) ; if ( splitter == - 1 ) { return moduleId ; } return moduleId . substring ( 0 , splitter ) ; }
Split a module Id to get the module name