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 0000000000..19ead66c06
--- /dev/null
+++ b/songdbj/Entry.java
@@ -0,0 +1,14 @@
1import java.io.*;
2
3public abstract class Entry {
4 protected int offset;
5
6 public Entry() {
7 offset=-1;
8 }
9
10 public void setOffset(int pos) { offset=pos; }
11 public int getOffset() { return offset; }
12
13 public abstract void write(DataOutputStream w) throws IOException;
14} \ No newline at end of file