nl.siegmann.epublib.epub
Class EpubReader

java.lang.Object
  extended by nl.siegmann.epublib.epub.EpubReader

public class EpubReader
extends Object

Reads an epub file.

Author:
paul

Constructor Summary
EpubReader()
           
 
Method Summary
 Book readEpub(InputStream in)
           
 Book readEpub(InputStream in, String encoding)
          Read epub from inputstream
 Book readEpub(ZipInputStream in)
           
 Book readEpub(ZipInputStream in, String encoding)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EpubReader

public EpubReader()
Method Detail

readEpub

public Book readEpub(InputStream in)
              throws IOException
Throws:
IOException

readEpub

public Book readEpub(ZipInputStream in)
              throws IOException
Throws:
IOException

readEpub

public Book readEpub(InputStream in,
                     String encoding)
              throws IOException
Read epub from inputstream

Parameters:
in - the inputstream from which to read the epub
encoding - the encoding to use for the html files within the epub
Returns:
Throws:
IOException

readEpub

public Book readEpub(ZipInputStream in,
                     String encoding)
              throws IOException
Throws:
IOException


Copyright © 2009-2011. All Rights Reserved.