Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 epublib 中的以下方法来检索内容:
is = book.getSpine().getSpineReferences().get(number).getResource().getInputStream();
我如何知道 number 何时到达最后一个文件并且超出范围?
我发现: book.getContents().size()