public class EPubExtractor
extends java.lang.Object
| Constructor and Description |
|---|
EPubExtractor() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
extractImage(java.io.InputStream in,
java.lang.String href)
Extract the cover image with with
href |
java.util.Map<java.lang.String,java.lang.String> |
extractMetadata(java.io.InputStream in)
Look for a .opf file in the zip achive and extract metadata out of it
return it as a Map
|
public EPubExtractor()
throws java.lang.Exception
java.lang.Exceptionpublic java.util.Map<java.lang.String,java.lang.String> extractMetadata(java.io.InputStream in)
throws java.lang.Exception
java.lang.Exceptionpublic byte[] extractImage(java.io.InputStream in,
java.lang.String href)
throws java.lang.Exception
hrefjava.lang.Exception"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"