public final class PositionUnits extends Object
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
$LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $,
initial version Jul 23, 2015
Modifier and Type | Field and Description |
---|---|
static Map<String,PositionUnit> |
POSITION_UNITS
The position units.
|
Modifier and Type | Method and Description |
---|---|
static Position |
parsePosition(String s) |
static String |
parsePositionUnit(String s) |
public static final Map<String,PositionUnit> POSITION_UNITS
public static String parsePositionUnit(String s) throws NetworkException
s
- String; the string to parseNetworkException
- when parsing failspublic static Position parsePosition(String s) throws NetworkException
s
- String; the string to parseNetworkException
- when parsing failsCopyright © 2014–2019 Delft University of Technology. All rights reserved.