*----------------------------------------------------------------------\r
*/\r
\r
-\r
import java.io.IOException;\r
\r
/**\r
* Work in progress.\r
* \r
- * Class to describe a seekable data source. \r
- * \r
+ * Class to describe a seekable data source.\r
+ * \r
*/\r
-public interface Source\r
-{\r
- \r
- public static final long LENGTH_UNKNOWN = -1;\r
- \r
- public int read(byte[] b, int offs, int len)\r
- throws IOException;\r
- \r
- \r
- public boolean willReadBlock();\r
- \r
- public boolean isSeekable();\r
- \r
- public long length();\r
- \r
- public long tell();\r
- \r
- public long seek(long pos);\r
- \r
+public interface Source {\r
+\r
+ public static final long LENGTH_UNKNOWN = -1;\r
+\r
+ public int read(byte[] b, int offs, int len) throws IOException;\r
+\r
+ public boolean willReadBlock();\r
+\r
+ public boolean isSeekable();\r
+\r
+ public long length();\r
+\r
+ public long tell();\r
+\r
+ public long seek(long pos);\r
+\r
}\r