public double getSize () {
// your code goes here
}
public int seek (double off) {
double boff = ...; // <-- your code goes here
// The code below this line comes from BaseFile
offset = boff;
if (io!=null) io.seek((long)boff);
return 0; // <-- always returns 0
}
public double seek() {
// your code goes here
}
public double avail() {
// your code goes here
}
nM> status samplefile.orange OrangeFile : file:///home/student/samplefile.orange Size : 16 Format : SF XStart : 0.0 XDelta : 1.0
nM> set REG.HANDLERS.FILE.ORANGE "nxm.train.lib.OrangeFile"
nM> status samplefile.orange