public void write( BaseRoute route, NavigationFormat format, boolean duplicateFirstPosition, boolean ignoreMaximumPositionCount, ParserCallback parserCallback, File... targets) throws IOException { OutputStream[] targetStreams = new OutputStream[targets.length]; for (int i = 0; i < targetStreams.length; i++) targetStreams[i] = new FileOutputStream(targets[i]); write( route, format, duplicateFirstPosition, ignoreMaximumPositionCount, parserCallback, targetStreams); for (File target : targets) log.info("Wrote '" + target.getAbsolutePath() + "'"); }
public void write(BaseRoute route, NavigationFormat format, File target) throws IOException { write(route, format, false, false, null, target); }