public interface ValueWriter
| Modifier and Type | Method and Description |
|---|---|
void |
writeBoolean(boolean value)
Puts a boolean value.
|
void |
writeDecimal(BigDecimal value)
Puts a decimal value.
|
void |
writeDouble(double value)
Puts a floating point number value.
|
default void |
writeFloat(float value)
Puts a floating point number value.
|
default void |
writeInt(int value)
Puts an integer value.
|
void |
writeLong(long value)
Puts an integer value.
|
void |
writeNull()
Puts
null. |
default void |
writeString(CharSequence value)
Puts a string value.
|
void |
writeString(CharSequence sequence,
int offset,
int length)
Puts a string.
|
void writeNull()
throws IOException
null.IOException - if I/O error was occurredvoid writeString(CharSequence sequence, int offset, int length) throws IOException
sequence - the character sequenceoffset - the character offsetlength - the character length (in UCS-16 characters)IOException - if I/O error was occurreddefault void writeString(CharSequence value) throws IOException
value - the valueIOException - if I/O error was occurredvoid writeDecimal(BigDecimal value) throws IOException
value - the valueIOException - if I/O error was occurreddefault void writeInt(int value)
throws IOException
value - the valueIOException - if I/O error was occurredvoid writeLong(long value)
throws IOException
value - the valueIOException - if I/O error was occurreddefault void writeFloat(float value)
throws IOException
value - the valueIOException - if I/O error was occurredvoid writeDouble(double value)
throws IOException
value - the valueIOException - if I/O error was occurredvoid writeBoolean(boolean value)
throws IOException
value - the valueIOException - if I/O error was occurredCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.