Package com.jverrecchia.initializr.builder.files

Examples of com.jverrecchia.initializr.builder.files.File


 
  public Boilerplate(){
    this.setName("Boilerplate Custom");
    this.setId("h5bp");
    this.setFileName("h5bp-initializr");
    this.getFiles().add(new File("index.html", "builder/templates/index.html", true, true));
    this.getFiles().add(new File("css/main.css", "builder/templates/main.css", true, true));
    this.getDefaultModulesNames().add("h5bp-content");
    this.getDefaultModulesNames().add("h5bp-stylefile");
    this.getDefaultModulesNames().add("h5bp-css");
    this.getDefaultModulesNames().add("h5bp-primarystyles");
    this.getDefaultModulesNames().add("h5bp-csshelpers");
View Full Code Here


 
  public Less(){
    this.setName("Less");
    this.setId("less");
    this.setFileName("initializr-less-verekia");
    this.getFiles().add(new File("index.html", "builder/templates/index.html", true, true));
    this.getFiles().add(new File("less/style.less", "builder/templates/style.less", true, true));
    this.getDefaultModulesNames().add("less");
    this.getDefaultModulesNames().add("h5bp-primarystyles");
  }
View Full Code Here

 
  public Css(){
    this.setName("CSS");
    this.setId("css");
    this.setFileName("initializr-verekia");
    this.getFiles().add(new File("index.html", "builder/templates/index.html", true, true));
    this.getFiles().add(new File("css/main.css", "builder/templates/main.css", true, true));
    this.getDefaultModulesNames().add("h5bp-stylefile");
    this.getDefaultModulesNames().add("h5bp-primarystyles");
  }
View Full Code Here

  public void addModulesFiles(Modules modules){
    for (Module currentModule : modules.getModules()){
      for (Insert currentInsert : currentModule.getInserts()){
        if (currentInsert.getMode() == null || currentInsert.getMode().equals(this.id)){
          if (currentInsert.getType() != null && currentInsert.getType().equals("file"))
            this.files.add(new File(currentInsert.getWhere(), "builder/modules/" + currentModule.getId() + "/" + currentInsert.getWhat(), true, false));
        }
      }
    }   
  }
View Full Code Here

TOP

Related Classes of com.jverrecchia.initializr.builder.files.File

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.