Package com.itstherules.stream.model

Examples of com.itstherules.stream.model.DirectoriesModel.asList()


public class AlbumController extends BaseController {
    @Override
    public void list(Map<String, Object> parameters, HttpServletResponse response) throws IOException {
      DirectoriesModel model = new DirectoriesModel("music/"+parameters.get("directory"));
      parameters.put("directories", model.asList());
      merge("album/list.freemarker", parameters, response.getWriter());
    }
   
    @Override
    public void show(Map<String, Object> parameters, HttpServletResponse response) throws IOException {
View Full Code Here


public class ArtistsController extends BaseController {

  @Override
  public void list(Map<String, Object> parameters, HttpServletResponse response) throws IOException {
    DirectoriesModel model = new DirectoriesModel("music");
    parameters.put("directories", model.asList());
    merge("artist/list.freemarker", parameters, response.getWriter());
  }
 
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.