Write out the (possibly modified) GAPP file to its new location. @throws IOException if an I/O error occurs.
()
| 386 | * @throws IOException if an I/O error occurs. |
| 387 | */ |
| 388 | public void write() throws IOException { |
| 389 | finish(); |
| 390 | File newGappFile = Files.fileFromURL(gappFileURL); |
| 391 | FileOutputStream fos = new FileOutputStream(newGappFile); |
| 392 | BufferedOutputStream out = new BufferedOutputStream(fos); |
| 393 | |
| 394 | XMLOutputter outputter = new XMLOutputter(Format.getRawFormat()); |
| 395 | outputter.output(gappDocument, out); |
| 396 | } |
| 397 | |
| 398 | /** |
| 399 | * Very simple "struct" for a set of Maven co-ordinates. |