public void listModules() throws Exception {

        Set<String> modules = OpenCms.getModuleManager().getModuleNames();
        m_shell.getOut().println(
            "\n" + getMessages().key(Messages.GUI_SHELL_LIST_MODULES_1, new Integer(modules.size())));
        Iterator<String> i = modules.iterator();
        while (i.hasNext()) {
            String moduleName = i.next();
            m_shell.getOut().println(moduleName);
        }
        m_shell.getOut().println();
    }
public void listModules ( ) throws Exception { Set < String > modules = OpenCms . getModuleManager ( ) . getModuleNames ( ) ; m_shell . getOut ( ) . println ( "\n" + getMessages ( ) . key ( Messages . GUI_SHELL_LIST_MODULES_1 , new Integer ( modules . size ( ) ) ) ) ; Iterator < String > i = modules . iterator ( ) ; while ( i . hasNext ( ) ) { String moduleName = i . next ( ) ; m_shell . getOut ( ) . println ( moduleName ) ; } m_shell . getOut ( ) . println ( ) ; }
Displays a list of all currently installed modules.<p>

@throws Exception if something goes wrong