public final class DataIoUtils extends Object
DataInput
and DataOutput
.Modifier and Type | Method and Description |
---|---|
static String |
readUTF(DataInput input)
Emulates
DataInput.readUTF() without using it method. |
static void |
writeUTF(DataOutput output,
String value)
Emulates
DataOutput.writeUTF(String) without using it method. |
public static String readUTF(DataInput input) throws IOException
DataInput.readUTF()
without using it method.input
- the target DataInput
IOException
- if failed to read String from the DataInput
public static void writeUTF(DataOutput output, String value) throws IOException
DataOutput.writeUTF(String)
without using it method.output
- the target DataOutput
value
- the target valueIOException
- if failed to write String into DataOutput
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.