summaryrefslogtreecommitdiff
path: root/songdbj/Entry.java
diff options
context:
space:
mode:
Diffstat (limited to 'songdbj/Entry.java')
-rw-r--r--songdbj/Entry.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/songdbj/Entry.java b/songdbj/Entry.java
new file mode 100644
index 0000000..19ead66
--- /dev/null
+++ b/songdbj/Entry.java
@@ -0,0 +1,14 @@
+import java.io.*;
+
+public abstract class Entry {
+ protected int offset;
+
+ public Entry() {
+ offset=-1;
+ }
+
+ public void setOffset(int pos) { offset=pos; }
+ public int getOffset() { return offset; }
+
+ public abstract void write(DataOutputStream w) throws IOException;
+} \ No newline at end of file