frysk.sys
Class StatelessFile

java.lang.Object
  extended by frysk.sys.StatelessFile
Direct Known Subclasses:
Mem

public class StatelessFile
extends Object


Field Summary
protected  byte[] unixPath
           
 
Constructor Summary
StatelessFile(File file)
          Creates a StatelessFile bound to the existing FILE.
StatelessFile(String file)
          Creates a StatelessFile bound to the existing FILE.
 
Method Summary
 int pread(long fileOffset, byte[] bytes, int start, int length)
           
 int pwrite(long fileOffset, byte[] bytes, int start, int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

unixPath

protected final byte[] unixPath
Constructor Detail

StatelessFile

public StatelessFile(File file)
Creates a StatelessFile bound to the existing FILE.


StatelessFile

public StatelessFile(String file)
Creates a StatelessFile bound to the existing FILE.

Method Detail

pread

public int pread(long fileOffset,
                 byte[] bytes,
                 int start,
                 int length)

pwrite

public int pwrite(long fileOffset,
                  byte[] bytes,
                  int start,
                  int length)