19.03.2013, 16:48
(19.03.2013, 11:41)Holzweg Wrote: Wäre es möglich, dies zu implementieren?
Ja, das ist machbar. Schau Dir die RouteConverterCmdLine Klasse an:
private void convert(File source, NavigationFormat format, File target) throws IOException {
NavigationFormatParser parser = new NavigationFormatParser();
ParserResult result = parser.read(source);
Und die Klasse NavigationFileParser erlaubt es, bevorzugte Formate anzugeben:
public ParserResult read(File source, List<NavigationFormat> formats) throws IOException {
--
Christian
Christian