Package slash.navigation.base
Class BaseNavigationFormat<R extends BaseRoute<?,?>>
java.lang.Object
slash.navigation.base.BaseNavigationFormat<R>
- All Implemented Interfaces:
NavigationFormat<R>
- Direct Known Subclasses:
BabelFormat,CsvFormat,ExcelFormat,TextNavigationFormat,XmlNavigationFormat,ZipFormat
public abstract class BaseNavigationFormat<R extends BaseRoute<?,?>>
extends Object
implements NavigationFormat<R>
The base of all navigation formats.
- Author:
- Christian Pesch
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringprotected StringasDescription(String string) protected StringasDescription(String name, String description) static Stringprotected Stringprotected StringasRouteName(String name) booleanprotected StringintintinthashCode()booleanbooleanMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface slash.navigation.base.NavigationFormat
createRoute, getExtension, getMaximumPositionCount, getName, isSupportsMultipleRoutes, isWritingRouteCharacteristics, read, write
-
Field Details
-
GENERATED_BY
- See Also:
-
UNLIMITED_MAXIMUM_POSITION_COUNT
protected static final int UNLIMITED_MAXIMUM_POSITION_COUNT- See Also:
-
-
Constructor Details
-
BaseNavigationFormat
public BaseNavigationFormat()
-
-
Method Details
-
getCreator
-
asDescription
-
asDescription
-
asName
-
asName
-
asDesc
-
asDesc
-
asRouteName
-
isSupportsReading
public boolean isSupportsReading()- Specified by:
isSupportsReadingin interfaceNavigationFormat<R extends BaseRoute<?,?>>
-
isSupportsWriting
public boolean isSupportsWriting()- Specified by:
isSupportsWritingin interfaceNavigationFormat<R extends BaseRoute<?,?>>
-
getMaximumFileNameLength
public int getMaximumFileNameLength()- Specified by:
getMaximumFileNameLengthin interfaceNavigationFormat<R extends BaseRoute<?,?>>
-
getMaximumRouteNameLength
public int getMaximumRouteNameLength()- Specified by:
getMaximumRouteNameLengthin interfaceNavigationFormat<R extends BaseRoute<?,?>>
-
hashCode
public int hashCode() -
equals
-