public class CompactCharField extends AbstractDataIntField
CompactCharField represents a single character field
with UTF-8 serialized form. See IOUtil for details.| Constructor and Description |
|---|
CompactCharField(int index,
String name) |
CompactCharField(int index,
String name,
SerialFieldType serialType) |
| Modifier and Type | Method and Description |
|---|---|
int |
parseString(String value)
Parses string representation of specified field value.
|
int |
readInt(com.devexperts.io.BufferedInput in)
Reads field value from specified buffered input and returns it to the caller.
|
int |
readInt(DataInput in)
Reads field value from specified data input and returns it to the caller.
|
String |
toString(int value)
Returns string representation of specified field value.
|
void |
writeInt(com.devexperts.io.BufferedOutput out,
int value)
Writes specified field value into specified buffered output.
|
void |
writeInt(DataOutput out,
int value)
Writes specified field value into specified data output.
|
equals, getString, read, setString, toDouble, toInt, writegetDefaultPropertyName, getIndex, getLocalName, getName, getPropertyName, getRecord, getSerialType, setRecord, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetIndex, getLocalName, getName, getPropertyName, getRecord, getSerialTypepublic CompactCharField(int index,
String name)
public CompactCharField(int index,
String name,
SerialFieldType serialType)
public String toString(int value)
AbstractDataIntFieldInteger.toString(value).toString in interface DataIntFieldtoString in class AbstractDataIntFieldpublic int parseString(String value)
AbstractDataIntFieldInteger.parseInt(value).parseString in interface DataIntFieldparseString in class AbstractDataIntFieldpublic final void writeInt(DataOutput out, int value) throws IOException
DataIntFieldIOException - as specified data output does.public final void writeInt(com.devexperts.io.BufferedOutput out,
int value)
throws IOException
DataIntFieldIOException - as specified data output does.public final int readInt(DataInput in) throws IOException
DataIntFieldIOException - as specified data input does.public final int readInt(com.devexperts.io.BufferedInput in)
throws IOException
DataIntFieldIOException - as specified data input does.Copyright © 2002–2025 Devexperts LLC. All rights reserved.