MCPcopy Create free account
hub / github.com/dumbledore/AlbiteREADER / loadUserFiles

Method loadUserFiles

src/org/albite/book/model/book/Book.java:183–196  ·  view source on GitHub ↗
(final String filename)

Source from the content-addressed store, hash-verified

181 }
182
183 protected void loadUserFiles(final String filename)
184 throws BookException, IOException {
185 /*
186 * Set default chapter
187 */
188 currentChapter = chapters[0];
189
190 bookSettingsFile = loadUserFile(
191 RandomReadingFile.changeExtension(filename, ".alx"));
192 bookmarksFile = loadUserFile(
193 RandomReadingFile.changeExtension(filename, ".alb"));
194
195 loadUserData();
196 }
197
198 protected FileConnection loadUserFile(final String filename)
199 throws IOException {

Callers 2

EPubBookMethod · 0.80
FileBookMethod · 0.80

Calls 3

loadUserFileMethod · 0.95
changeExtensionMethod · 0.95
loadUserDataMethod · 0.95

Tested by

no test coverage detected