summaryrefslogtreecommitdiffstats
path: root/songdbj/Entry.java
blob: 19ead66c0601d96d559490f4ad74561e2acf15c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;
}