()
| 176 | |
| 177 | |
| 178 | public void beginDraw() { |
| 179 | // have to create file object here, because the name isn't yet |
| 180 | // available in allocate() |
| 181 | if (writer == null) { |
| 182 | try { |
| 183 | writer = new PrintWriter(new FileWriter(file)); |
| 184 | } catch (IOException e) { |
| 185 | throw new RuntimeException(e); // java 1.4+ |
| 186 | } |
| 187 | writeHeader(); |
| 188 | } |
| 189 | } |
| 190 | |
| 191 | |
| 192 | public void endDraw() { |
nothing calls this directly
no test coverage detected