Package org.eclipse.jst.j2ee.webapplication

Examples of org.eclipse.jst.j2ee.webapplication.WelcomeFileList


   *
   * @param webApp the <code>WebApp</code> object
   */
  @SuppressWarnings("unchecked")
  public static void createOrUpdateFilelist(WebApp webApp) {
    WelcomeFileList filelist = webApp.getFileList();
   
    if(filelist==null){
      filelist = WebapplicationFactory.eINSTANCE.createWelcomeFileList();
      filelist.addFileNamed("index.htm");
      filelist.setWebApp(webApp);
    } else {
      filelist.getFile().removeAll(filelist.getFile());
      filelist.addFileNamed("index.htm");
    }
  }
View Full Code Here


   *
   * @param webApp the <code>WebApp</code> object
   */
  @SuppressWarnings("unchecked")
  public static void createOrUpdateFilelist(WebApp webApp) {
    WelcomeFileList filelist = webApp.getFileList();

    if(filelist==null){
      filelist = WebapplicationFactory.eINSTANCE.createWelcomeFileList();
      filelist.addFileNamed("index.htm");
      filelist.setWebApp(webApp);
    } else {
      filelist.getFile().removeAll(filelist.getFile());
      filelist.addFileNamed("index.htm");
    }
  }
View Full Code Here

   *
   * @param webApp the <code>WebApp</code> object
   */
  @SuppressWarnings("unchecked")
  public static void createOrUpdateFilelist(WebApp webApp) {
    WelcomeFileList filelist = webApp.getFileList();
   
    if(filelist==null){
      filelist = WebapplicationFactory.eINSTANCE.createWelcomeFileList();
      filelist.addFileNamed("index.htm");
      filelist.setWebApp(webApp);
    } else {
      filelist.getFile().removeAll(filelist.getFile());
      filelist.addFileNamed("index.htm");
    }
  }
View Full Code Here

TOP

Related Classes of org.eclipse.jst.j2ee.webapplication.WelcomeFileList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.