forked from upstream-mirrors/OpenTracks
unify export filename logic
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package de.dennisguse.opentracks.io.file;
|
||||
|
||||
import de.dennisguse.opentracks.content.data.Track;
|
||||
|
||||
public class ExportFileName {
|
||||
|
||||
public static String getExportFileNameByTrackId(Track.Id trackId, String trackFileFormatExtension) {
|
||||
return trackId.getId() + "." + trackFileFormatExtension;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user