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

Method loadUserFile

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

Source from the content-addressed store, hash-verified

196 }
197
198 protected FileConnection loadUserFile(final String filename)
199 throws IOException {
200
201 try {
202 //#debug
203 AlbiteMIDlet.LOGGER.log("Opening [" + filename + "]...");
204 final FileConnection file = (FileConnection) Connector.open(
205 filename, Connector.READ_WRITE);
206 //#debug
207 AlbiteMIDlet.LOGGER.log(file != null);
208 return file;
209 } catch (SecurityException e) {
210 } catch (IOException e) {}
211
212 return null;
213 }
214
215 private void loadUserData() {
216 try {

Callers 1

loadUserFilesMethod · 0.95

Calls 2

logMethod · 0.80
openMethod · 0.80

Tested by

no test coverage detected