Limit/Number of html file (containing text) within an epub file

39 Views Asked by At

I'm using the following method from epublib to retrieve the content:

is = book.getSpine().getSpineReferences().get(number).getResource().getInputStream();

How do I know when number has reached the last file and is out of range?

1

There are 1 best solutions below

0
narb On

I found: book.getContents().size()