⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xdoclet-userform.java

📁 this is for appfuse1.8 source using strut 1.x, spring and hibernate.
💻 JAVA
字号:
    public String[] getUserRoles() {        org.appfuse.model.Role role;        String[] userRoles = new String[roles.size()];        int i = 0;        for (java.util.Iterator iter = roles.iterator(); iter.hasNext();) {            role = (org.appfuse.model.Role) iter.next();            userRoles[i] = role.getName();            i++;        }        return userRoles;    }    /**     * Note that this is not used - it's just needed by Struts.  If you look     * in UserAction - you'll see that request.getParameterValues("userRoles")     * is used instead.     *      * @param roles     */    public void setUserRoles(String[] roles) {}    

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -