|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.RandomAccessFile
clickDetector.WindowsFile
public class WindowsFile
Some additions to RandomAccessFile to write binary data that is compatible with the RainbowClick file format.
| Constructor Summary | |
|---|---|
WindowsFile(java.io.File file,
java.lang.String mode)
|
|
WindowsFile(java.lang.String file,
java.lang.String mode)
|
|
| Method Summary | |
|---|---|
double |
readWinDouble()
|
float |
readWinFloat()
|
int |
readWinInt()
Read a Windows 32 bit integer |
long |
readWinLong()
|
int |
readWinShort()
|
void |
writeWinDouble(double val)
|
void |
writeWinFloat(float val)
|
void |
writeWinInt(int val)
|
void |
writeWinLong(long longValue)
|
void |
writeWinShort(int val)
|
| Methods inherited from class java.io.RandomAccessFile |
|---|
close, getChannel, getFD, getFilePointer, length, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, seek, setLength, skipBytes, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface clickDetector.WriteWinFile |
|---|
writeByte |
| Methods inherited from interface clickDetector.ReadWinFile |
|---|
readByte |
| Constructor Detail |
|---|
public WindowsFile(java.lang.String file,
java.lang.String mode)
throws java.io.IOException
java.io.IOException
public WindowsFile(java.io.File file,
java.lang.String mode)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public void writeWinInt(int val)
throws java.io.IOException
writeWinInt in interface WriteWinFilejava.io.IOException
public int readWinInt()
throws java.io.IOException
readWinInt in interface ReadWinFilejava.io.IOException
public void writeWinShort(int val)
throws java.io.IOException
writeWinShort in interface WriteWinFilejava.io.IOException
public int readWinShort()
throws java.io.IOException
readWinShort in interface ReadWinFilejava.io.IOException
public void writeWinFloat(float val)
throws java.io.IOException
writeWinFloat in interface WriteWinFilejava.io.IOException
public float readWinFloat()
throws java.io.IOException
readWinFloat in interface ReadWinFilejava.io.IOException
public void writeWinDouble(double val)
throws java.io.IOException
writeWinDouble in interface WriteWinFilejava.io.IOException
public double readWinDouble()
throws java.io.IOException
readWinDouble in interface ReadWinFilejava.io.IOException
public void writeWinLong(long longValue)
throws java.io.IOException
writeWinLong in interface WriteWinFilejava.io.IOException
public long readWinLong()
throws java.io.IOException
readWinLong in interface ReadWinFilejava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||