public class StringToBooleanConverter extends Object implements StringConverter<Boolean>
COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY
Constructor and Description |
---|
StringToBooleanConverter() |
Modifier and Type | Method and Description |
---|---|
Boolean |
convert(String source)
Convert the source-typed value to the target-typed value
|
int |
getPriority()
Get the priority
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept, convertIfPossible, getConverter, getSourceType, getTargetType
compareTo
public Boolean convert(String source)
Converter
public int getPriority()
Prioritized
getPriority
in interface Prioritized
minimum one
Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.