2013-04-18 23:35:02 +02:00
|
|
|
package net.osmand.binary;
|
|
|
|
|
2016-05-07 17:56:08 +02:00
|
|
|
public abstract class BinaryIndexPart {
|
2013-04-18 23:35:02 +02:00
|
|
|
|
|
|
|
String name;
|
|
|
|
int length;
|
|
|
|
int filePointer;
|
|
|
|
|
2016-05-07 17:56:08 +02:00
|
|
|
abstract public String getPartName();
|
|
|
|
|
|
|
|
abstract public int getFieldNumber();
|
|
|
|
|
2013-04-18 23:35:02 +02:00
|
|
|
public int getLength() {
|
|
|
|
return length;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setLength(int length) {
|
|
|
|
this.length = length;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int getFilePointer() {
|
|
|
|
return filePointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setFilePointer(int filePointer) {
|
|
|
|
this.filePointer = filePointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getName() {
|
|
|
|
return name;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setName(String name) {
|
|
|
|
this.name = name;
|
|
|
|
}
|
|
|
|
}
|