| java.lang.Object org.netbeans.modules.web.struts.StrutsConfigUtilities
StrutsConfigUtilities | public class StrutsConfigUtilities (Code) | | author: petr |
Method Summary | |
public static String | getActionAsResource(WebModule wm, String action) | public static String | getActionAsResource(String mapping, String action) | public static Servlet | getActionServlet(FileObject dd) | public static String | getActionServletMapping(FileObject dd) Returns the mapping for the Struts Action Servlet. | public static List | getAllActionsInModule(StrutsConfigDataObject data) | public static List | getAllFormBeansInModule(StrutsConfigDataObject data) | public static List | getAllMessageResourcesInModule(StrutsConfigDataObject data) | public static FileObject[] | getConfigFiles(String module, FileObject dd) | public static String[] | getConfigFiles(FileObject dd) | public static FileObject[] | getConfigFilesFO(FileObject dd) | public static MessageResources | getDefatulMessageResource(FileObject dd) | public static SourceGroup[] | getDocBaseGroups(FileObject fo) Returns WebPages for the project, where the fo is located. | public static String | getModuleName(FileObject config, FileObject dd) Returns name of Struts module, which contains the configuration file. | public static String | getResourcePath(SourceGroup[] groups, FileObject fo, char separator, boolean withExt) | public static String | getWelcomeFile(String URLPattern, String pageName) Get the welcome file based on the URL Pattern and the Page Name. |
DEFAULT_MODULE_NAME | public static String DEFAULT_MODULE_NAME(Code) | | |
getActionAsResource | public static String getActionAsResource(WebModule wm, String action)(Code) | | |
getActionServlet | public static Servlet getActionServlet(FileObject dd)(Code) | | |
getActionServletMapping | public static String getActionServletMapping(FileObject dd)(Code) | | Returns the mapping for the Struts Action Servlet.
|
getConfigFiles | public static FileObject[] getConfigFiles(String module, FileObject dd)(Code) | | Returns all configuration files for the module
|
getConfigFiles | public static String[] getConfigFiles(FileObject dd)(Code) | | Returns relative path for all struts configuration files in the web module
|
getConfigFilesFO | public static FileObject[] getConfigFilesFO(FileObject dd)(Code) | | Returns all configuration files in the web module
|
getDefatulMessageResource | public static MessageResources getDefatulMessageResource(FileObject dd)(Code) | | |
getDocBaseGroups | public static SourceGroup[] getDocBaseGroups(FileObject fo) throws java.io.IOException(Code) | | Returns WebPages for the project, where the fo is located.
|
getModuleName | public static String getModuleName(FileObject config, FileObject dd)(Code) | | Returns name of Struts module, which contains the configuration file.
|
getResourcePath | public static String getResourcePath(SourceGroup[] groups, FileObject fo, char separator, boolean withExt)(Code) | | |
getWelcomeFile | public static String getWelcomeFile(String URLPattern, String pageName)(Code) | | Get the welcome file based on the URL Pattern and the Page Name.
Parameters: URLPattern - the URL Pattern Parameters: pageName - the Page Name If successful, returns the welcome file, "do/" + pageName if unsuccessful. |
|
|