Package slash.navigation.babel
Class BabelFormat
- All Implemented Interfaces:
NavigationFormat<GpxRoute>
- Direct Known Subclasses:
AlanTrackLogFormat,AlanWaypointsAndRoutesFormat,CompeGPSDataFormat,FlightRecorderDataFormat,GarminMapSource5Format,GarminMapSource6Format,GarminPcx5Format,GarminPoiDbFormat,GarminPoiFormat,GeoCachingFormat,HoluxM241BinaryFormat,Igo8TrackFormat,MagellanMapSendFormat,NationalGeographicTopo3Format,OziExplorerFormat,TomTomPoiFormat,TourExchangeFormat
The base of all GPSBabel based formats.
- Author:
- Christian Pesch, Axel Uhl
-
Field Summary
Fields inherited from class slash.navigation.base.BaseNavigationFormat
GENERATED_BY, UNLIMITED_MAXIMUM_POSITION_COUNT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Gpx10Format<P extends NavigationPosition>
GpxRoutecreateRoute(RouteCharacteristics characteristics, String name, List<P> positions) protected voidprotected List<RouteCharacteristics> static Stringprotected abstract Stringprotected StringgetFormatOptions(GpxRoute route) protected String[]intprotected abstract booleanprotected booleanisValidRoute(GpxRoute route) booleanmodifyBeforeWriting(List<GpxRoute> routes) voidread(InputStream source, ParserContext<GpxRoute> context) protected GpxRoutestatic voidsetBabelPathPreference(String babelPathPreference) voidwrite(List<GpxRoute> routes, OutputStream target) voidwrite(GpxRoute route, OutputStream target, int startIndex, int endIndex) Methods inherited from class slash.navigation.base.BaseNavigationFormat
asDesc, asDesc, asDescription, asDescription, asName, asName, asRouteName, equals, getCreator, getMaximumFileNameLength, getMaximumRouteNameLength, hashCode, isSupportsReading, isSupportsWritingMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface slash.navigation.base.NavigationFormat
getExtension, getName, isSupportsMultipleRoutes
-
Constructor Details
-
BabelFormat
public BabelFormat()
-
-
Method Details
-
createGpxFormat
-
getBabelPathPreference
-
setBabelPathPreference
-
getFormatName
-
isWritingRouteCharacteristics
public boolean isWritingRouteCharacteristics() -
isStreamingCapable
protected abstract boolean isStreamingCapable() -
getGlobalOptions
-
getBabelCharacteristics
-
getMaximumPositionCount
public int getMaximumPositionCount() -
delete
-
modifyBeforeWriting
-
write
- Throws:
IOException
-