Package org.eclipse.net4j.util
Interface StringParser<T>
- All Known Implementing Classes:
StringParser.EnumStringParser
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Parses strings and returns any kind of
objects
.- Since:
- 3.23
- Author:
- Eike Stepper
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
StringParser.EnumStringParser<T extends Enum<T>>
static final class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final StringParser<BigDecimal>
static final StringParser<BigInteger>
static final StringParser<Boolean>
static final StringParser<Byte>
static final StringParser<Character>
static final StringParser<Double>
static final StringParser<File>
static final StringParser<Float>
static final StringParser<String>
static final StringParser<Integer>
static final StringParser<Long>
static final StringParser<Path>
static final String
static final StringParser<Short>
-
Method Summary
Modifier and TypeMethodDescriptiondefault StringParser<T>
safe()
static <T> StringParser<T>
safe
(StringParser<T> other)
-
Field Details
-
PRODUCT_GROUP
- See Also:
-
IDENTITY
-
CHARACTER
-
BOOLEAN
-
BYTE
-
SHORT
-
INTEGER
-
LONG
-
FLOAT
-
DOUBLE
-
BIG_INTEGER
-
BIG_DECIMAL
-
PATH
-
FILE
-
-
Method Details