(final String filename)
| 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 { |
no test coverage detected