This project is an EPUB parser that extracts and processes the contents of EPUB files. It handles unzipping the EPUB file, parsing all files within it, parsing the Table of Contents (TOC) for navigation, applying CSS styles, and extracting the cover image. However, the current implementation does not yet support displaying images and links within the chapter content.
- Unzip EPUB files and extract their contents
- Parse all files within the EPUB
- Parse the TOC file for navigation
- Apply CSS styles to the content
- Extract and display the cover image
- Display images within the chapter content
- Display links within the chapter content
java.io.File
java.io.FileOutputStream
java.io.InputStream
java.io.IOException
javax.xml.parsers.DocumentBuilderFactory
java.io.BufferedOutputStream
java.util.zip.ZipFile
org.w3c.dom.Document
org.w3c.dom.Element
- Java Development Kit (JDK) 8 or higher
- An IDE or text editor for Java development
- Clone the repository:
git clone https://github.com/your-username/epub-parser.git cd epub-parser