1 21 22 package org.apache.derby.io; 23 24 import java.io.DataInput ; 25 import java.io.DataOutput ; 26 import java.io.FileNotFoundException ; 27 import java.io.EOFException ; 28 import java.io.IOException ; 29 30 45 public interface StorageRandomAccessFile extends DataInput , DataOutput 46 { 47 48 53 public void close() throws IOException ; 54 55 62 public long getFilePointer() throws IOException ; 63 64 71 public long length() throws IOException ; 72 73 81 public void seek(long newFilePointer) throws IOException ; 82 83 95 public void setLength(long newLength) throws IOException ; 96 97 109 public void sync( boolean metaData) throws IOException ; 110 } 111 | Popular Tags |