|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectquickfix.field.converter.BooleanConverter
public class BooleanConverter
Converts between a boolean and a string.
Constructor Summary | |
---|---|
BooleanConverter()
|
Method Summary | |
---|---|
static java.lang.String |
convert(boolean b)
Converts a boolean to a String. |
static boolean |
convert(java.lang.String value)
Converts a String value to a boolean. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BooleanConverter()
Method Detail |
---|
public static java.lang.String convert(boolean b)
b
- the boolean value
public static boolean convert(java.lang.String value) throws FieldConvertError
value
- the String value to convert
FieldConvertError
- raised for any value other than "Y" or "N".
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |