![]() |
omorfi 0.9.9
Open morphology of Finnish
|
Public Member Functions | |
| TransducerStream (DataInputStream stream) | |
| int | getUShort () throws java.io.IOException |
| long | getUInt () throws java.io.IOException |
| Boolean | getBool () throws java.io.IOException |
A simple extension of DataInputStream to handle unsigned little-endian data.
| net.sf.hfst.TransducerStream.TransducerStream | ( | DataInputStream | stream | ) |
Invokes the DataInputStream constructor with a BufferedInputStream argument.
| stream | BufferedInputStream containing little-endian unsigned variables |
| Boolean net.sf.hfst.TransducerStream.getBool | ( | ) | throws java.io.IOException |
Reads four bytes (sic), returns false if they're all zero and true otherwise.
| long net.sf.hfst.TransducerStream.getUInt | ( | ) | throws java.io.IOException |
Reads the next four bytes as an unsigned little-endian int.
| int net.sf.hfst.TransducerStream.getUShort | ( | ) | throws java.io.IOException |
Reads the next two bytes as an unsigned little-endian short.