Package slash.navigation.copilot
Class CoPilotFormat
java.lang.Object
- All Implemented Interfaces:
NavigationFormat<Wgs84Route>
- Direct Known Subclasses:
CoPilot6Format,CoPilot7Format,CoPilot8Format,CoPilot9Format
The base of all CoPilot formats.
- Author:
- Christian Pesch
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final doubleprotected static final Patternprotected static final charFields inherited from class slash.navigation.base.SimpleFormat
BEGIN_OF_LINE, END_OF_LINE, POSITION, WHITE_SPACEFields inherited from class slash.navigation.base.TextNavigationFormat
BYTE_ORDER_MARKFields inherited from class slash.navigation.base.BaseNavigationFormat
GENERATED_BY, UNLIMITED_MAXIMUM_POSITION_COUNT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<P extends NavigationPosition>
Wgs84RoutecreateRoute(RouteCharacteristics characteristics, String name, List<P> positions) <P extends BaseNavigationPosition>
PgetDuplicateFirstPosition(BaseRoute<P, ?> route) intprotected abstract booleanisDataVersion(String line) voidread(BufferedReader reader, String encoding, ParserContext<Wgs84Route> context) protected voidwriteHeader(Wgs84Route route, PrintWriter writer) protected voidwritePositions(Wgs84Route route, PrintWriter writer, int startIndex, int endIndex) Methods inherited from class slash.navigation.base.SimpleFormat
isSupportsMultipleRoutes, isWritingRouteCharacteristicsMethods inherited from class slash.navigation.base.TextNavigationFormat
isValidStartDate, read, read, write, write, writeMethods 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
getName
-
Field Details
-
DATA_VERSION
- See Also:
-
NAME_VALUE_SEPARATOR
protected static final char NAME_VALUE_SEPARATOR- See Also:
-
NAME_VALUE_PATTERN
-
INTEGER_FACTOR
protected static final double INTEGER_FACTOR- See Also:
-
-
Constructor Details
-
CoPilotFormat
public CoPilotFormat()
-
-
Method Details
-
getExtension
-
getMaximumPositionCount
public int getMaximumPositionCount() -
isDataVersion
-