Package slash.navigation.csv
Class CsvFormat
- All Implemented Interfaces:
NavigationFormat<CsvRoute>
- Direct Known Subclasses:
CsvCommaFormat,CsvSemicolonFormat,Flightradar24Format
The base of all CSV formats.
- Author:
- Christian Pesch
-
Field Summary
Fields inherited from class slash.navigation.base.BaseNavigationFormat
GENERATED_BY, UNLIMITED_MAXIMUM_POSITION_COUNT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<P extends NavigationPosition>
CsvRoutecreateRoute(RouteCharacteristics characteristics, String name, List<P> positions) protected abstract charintbooleanbooleanvoidread(InputStream source, ParserContext<CsvRoute> context) protected booleanread(Reader reader, ParserContext<CsvRoute> context) protected LinkedHashMap<String, String> transformRead(LinkedHashMap<String, String> rowAsMap) transformWrite(Map<String, String> rowAsMap) voidwrite(CsvRoute 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
getName
-
Constructor Details
-
CsvFormat
public CsvFormat()
-
-
Method Details
-
getExtension
-
getMaximumPositionCount
public int getMaximumPositionCount() -
isSupportsMultipleRoutes
public boolean isSupportsMultipleRoutes() -
isWritingRouteCharacteristics
public boolean isWritingRouteCharacteristics() -
getColumnSeparator
protected abstract char getColumnSeparator() -
transformRead
-
transformWrite
-