()
| 107 | } |
| 108 | |
| 109 | public void load() |
| 110 | throws DBException, IOException |
| 111 | { |
| 112 | if (this.file == null) { |
| 113 | throw new IllegalStateException("No database file is available"); |
| 114 | } |
| 115 | FileInputStream in = new FileInputStream(this.file); |
| 116 | try { |
| 117 | load(in); |
| 118 | } finally { |
| 119 | in.close(); |
| 120 | } |
| 121 | } |
| 122 | |
| 123 | public void load(InputStream in) |
| 124 | throws DBException, IOException |
no test coverage detected