Modifier and Type | Field and Description |
---|---|
(package private) static List<String> |
FALSE_VALUES |
static String |
falseval |
(package private) static List<String> |
REVERSE_VALUES |
static String |
reverseval |
(package private) static List<String> |
TRUE_VALUES |
static String |
trueval |
Modifier | Constructor and Description |
---|---|
private |
OsmUtils() |
Modifier and Type | Method and Description |
---|---|
static OsmPrimitive |
createPrimitive(String assertion)
Creates a new OSM primitive according to the given assertion.
|
static String |
getNamedOsmBoolean(String value) |
static Boolean |
getOsmBoolean(String value) |
static boolean |
isFalse(String value) |
static boolean |
isReversed(String value) |
static boolean |
isTrue(String value) |
static final List<String> TRUE_VALUES
static final List<String> FALSE_VALUES
static final List<String> REVERSE_VALUES
public static final String trueval
public static final String falseval
public static final String reverseval
private OsmUtils()
public static Boolean getOsmBoolean(String value)
public static String getNamedOsmBoolean(String value)
public static boolean isReversed(String value)
public static OsmPrimitive createPrimitive(String assertion)
assertion
- The assertion describing OSM primitive (ex: "way name=Foo railway=rail")IllegalArgumentException
- if assertion is null or if the primitive type cannot be deduced from it