Package nl.siegmann.epublib.domain

Examples of nl.siegmann.epublib.domain.Section


 
      // Add css file
      book.getResources().add(new InputStreamResource(Simple1.class.getResourceAsStream("/book1/book1.css"), "book1.css"));
 
      // Add Chapter 2
      Section chapter2 = book.addResourceAsSection("Second Chapter", new InputStreamResource(Simple1.class.getResourceAsStream("/book1/chapter2.html"), "chapter2.html"));
     
      // Add image used by Chapter 2
      book.getResources().add(new InputStreamResource(Simple1.class.getResourceAsStream("/book1/flowers_320x240.jpg"), "flowers.jpg"));
 
      // Add Chapter2, Section 1
View Full Code Here

TOP

Related Classes of nl.siegmann.epublib.domain.Section

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.