9567
|
1 /** Copyright (C) 2017 by Bundesanstalt für Gewässerkunde |
|
2 * Software engineering by |
|
3 * Björnsen Beratende Ingenieure GmbH |
|
4 * Dr. Schumacher Ingenieurbüro für Wasser und Umwelt |
|
5 * |
|
6 * This file is Free Software under the GNU AGPL (>=v3) |
|
7 * and comes with ABSOLUTELY NO WARRANTY! Check out the |
|
8 * documentation coming with Dive4Elements River for details. |
|
9 */ |
|
10 package test; |
|
11 |
9570
|
12 import java.io.File; |
|
13 |
9567
|
14 /** |
|
15 * @author Domenico Nardi Tironi |
|
16 * |
|
17 */ |
|
18 public class FilenameSupplier { |
|
19 |
|
20 private final String filename; |
|
21 |
|
22 public FilenameSupplier(final String filename) { |
|
23 this.filename = filename; |
|
24 } |
|
25 |
|
26 public final String getFilename() { |
9570
|
27 return this.filename.replace("//", File.separator); |
9567
|
28 } |
|
29 |
|
30 } |