public void seek(int filePointer) throws IOException { da.seek(filePointer); }
public void open(boolean requestWrite) throws IOException { if (openedForWrite == requestWrite) { ensureOpen(requestWrite); da.seek(getFileLength()); return; // already opened with correct type } else { // opened with different type close(); } // open the file ensureOpen(requestWrite); da.seek(getFileLength()); openedForWrite = requestWrite; offset = 0; }