public static class IntegerUnit.ParserRegistry extends Object
| Constructor and Description |
|---|
ParserRegistry() |
| 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 © 2018. All rights reserved.