Begin versioning.
[fits.git] / src / nom / tam / util / RandomAccess.java
1 package nom.tam.util;
2
3 /** These packages define the methods which indicate that
4  *  an i/o stream may be accessed in arbitrary order.
5  *  The method signatures are taken from RandomAccessFile
6  *  though that class does not implement this interface.
7  */
8 public interface RandomAccess extends ArrayDataInput {
9
10     /** Move to a specified location in the stream. */
11     public void seek(long offsetFromStart) throws java.io.IOException;
12
13     /** Get the current position in the stream */
14     public long getFilePointer();
15 }