| Package | Description |
|---|---|
| org.yarnandtail.andhow.api | |
| org.yarnandtail.andhow.load | |
| org.yarnandtail.andhow.load.util | |
| org.yarnandtail.andhow.valuetype |
| Modifier and Type | Method and Description |
|---|---|
T |
ValueType.parse(String sourceValue)
Attempts to parse the passed String into the destinationType.
|
T |
FlaggableType.parseFlag(String sourceValue)
Attempts to parse the passed String into the destination type with flag semantics.
|
| Modifier and Type | Method and Description |
|---|---|
protected <T> ValidatedValue |
BaseLoader.createValue(Property<T> prop,
String untrimmedString)
Central method for parsing Strings into a Property value.
|
| Modifier and Type | Method and Description |
|---|---|
static KVP |
KVP.splitKVP(String arg,
String delimiter)
Splits a key value pair String into its key and value using the passed delimiter.
|
| Constructor and Description |
|---|
KeyObjectPair(String name)
Construct an instance with a null value.
|
KeyObjectPair(String name,
Object value)
New instance with name and value.
|
KVP(String name) |
KVP(String name,
String value) |
| Modifier and Type | Method and Description |
|---|---|
String |
StrType.parse(String sourceValue)
To parse the String type, the passed String is simply returned.
|
LocalDateTime |
LocalDateTimeType.parse(String sourceValue)
Parses a String to a
LocalDateTime. |
Long |
LngType.parse(String sourceValue)
Parses a String to a
Long. |
Integer |
IntType.parse(String sourceValue)
Parses a String to an
Integer. |
Double |
DblType.parse(String sourceValue)
Parses a String to a
Double. |
Boolean |
BolType.parse(String sourceValue)
Parses a String to a
Boolean. |
BigDecimal |
BigDecType.parse(String sourceValue)
Parses a String to a
BigDecType. |
Boolean |
FlagType.parseFlag(String sourceValue) |
Copyright © 2022. All rights reserved.