public class CharReadField extends ReadField
Constructor and Description |
---|
CharReadField(SerializableField field)
Construct a new instance with the default value.
|
CharReadField(SerializableField field,
char value)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
char |
getChar()
Get the character value of this field.
|
Kind |
getKind()
Get the kind of field represented by this object.
|
public CharReadField(SerializableField field, char value)
field
- the serializable fieldvalue
- the valuepublic CharReadField(SerializableField field)
field
- the serializable fieldpublic Kind getKind()
public char getChar() throws IOException
getChar
in class ReadField
IOException
- if the value cannot be readCopyright © 2019 JBoss by Red Hat. All rights reserved.