The following source have been copied from the Apache Harmony project with minor changes. The most significant change
is the replacement of calls to Messages
to fetch exception messages from a properties file, with the actual String literal.
- DataInput
- DataInputStream
- DataOutput
- DataOutputStream
- EOFException
- PushbackInputStream
- UTFDataFormatException
This assumes the above classes are not available in com.vertispan.j2cl:jre
.
- The package
walkingkooka.j2cl.java.io
is shaded tojava.io
.
- implements
java.io.DataInput
- Reads data from a
java.lang.String
previous written byStringDataOutput
- This class is not shaded
readFully
throwsUnsupportedOperationException
readLine
throwsUnsupportedOperationException
readUTF
never returnsnull
skipBytes
throwsUnsupportedOperationException
- implements
java.io.DataOutput
- Writes a
java.lang.String
which can be consumed byStringDataOutput
- This class is not shaded
write(byte[])
throwsUnsupportedOperationException
write(byte[], int, int)
throwsUnsupportedOperationException
writeChars
null throwsNullPointerException
writeUTF
null throwsNullPointerException