14 lines
272 B
Java
14 lines
272 B
Java
|
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;
|
||
|
}
|