Package clickDetector
Class WindowsFile
java.lang.Object
java.io.RandomAccessFile
clickDetector.WindowsFile
- All Implemented Interfaces:
 ReadWinFile,WriteWinFile,Closeable,DataInput,DataOutput,AutoCloseable
- Author:
 - doug Gillespie
         
Some additions to RandomAccessFile to write binary data that is compatible with the RainbowClick file format.
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongetFile()doublefloatintRead a Windows 32 bit integerlongintintvoidseekEnd()Go to the end of the file.voidwriteWinDouble(double val) voidwriteWinFloat(float val) voidwriteWinInt(int val) voidwriteWinLong(long longValue) voidwriteWinShort(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, writeUTFMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface clickDetector.ReadWinFile
readByteMethods inherited from interface clickDetector.WriteWinFile
writeByte 
- 
Constructor Details
- 
WindowsFile
- Throws:
 IOException
 - 
WindowsFile
- Throws:
 IOException
 
 - 
 - 
Method Details
- 
getFile
 - 
seekEnd
Go to the end of the file.- Throws:
 IOException
 - 
writeWinInt
- Specified by:
 writeWinIntin interfaceWriteWinFile- Throws:
 IOException
 - 
readWinInt
Read a Windows 32 bit integer- Specified by:
 readWinIntin interfaceReadWinFile- Throws:
 IOException
 - 
writeWinShort
- Specified by:
 writeWinShortin interfaceWriteWinFile- Throws:
 IOException
 - 
readWinShort
- Specified by:
 readWinShortin interfaceReadWinFile- Throws:
 IOException
 - 
readWinUShort
- Throws:
 IOException
 - 
writeWinFloat
- Specified by:
 writeWinFloatin interfaceWriteWinFile- Throws:
 IOException
 - 
readWinFloat
- Specified by:
 readWinFloatin interfaceReadWinFile- Throws:
 IOException
 - 
writeWinDouble
- Specified by:
 writeWinDoublein interfaceWriteWinFile- Throws:
 IOException
 - 
readWinDouble
- Specified by:
 readWinDoublein interfaceReadWinFile- Throws:
 IOException
 - 
writeWinLong
- Specified by:
 writeWinLongin interfaceWriteWinFile- Throws:
 IOException
 - 
readWinLong
- Specified by:
 readWinLongin interfaceReadWinFile- Throws:
 IOException
 
 -