public static final class IntegerUnit.ParserRegistry extends Object
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends IntegerUnit> |
get(String text)
Get the unit from the text.
|
static void |
register(String text,
Class<? extends IntegerUnit> unit)
Register a text as an IntegerUnit.
|
public static void register(String text, Class<? extends IntegerUnit> unit)
public static Class<? extends IntegerUnit> get(String text)
Copyright © 2019. All rights reserved.