bt747.sys.interfaces
Interface BT747RAFile

All Superinterfaces:
BT747File, BT747InputStream, BT747OutputStream
All Known Implementing Classes:
J2SERAFile, RAFile, WabaFile

public interface BT747RAFile
extends BT747File

Defines the interface for a Random Access File. It only adds 'setPos' to the interface, but this feature has a big impact on the fact that the file can be buffered easily or not on J2SE platforms.

Author:
Mario De Weerd

Method Summary
 boolean setPos(int pos)
          Set the file position.
 
Methods inherited from interface bt747.sys.interfaces.BT747File
close, createDir, delete, exists, getLastError, getModificationTime, getPath, getSize, isOpen
 
Methods inherited from interface bt747.sys.interfaces.BT747InputStream
readBytes
 
Methods inherited from interface bt747.sys.interfaces.BT747OutputStream
writeBytes
 

Method Detail

setPos

boolean setPos(int pos)
Set the file position.

Parameters:
pos -
Returns:
true if success.