new surrounding check'
This commit is contained in:
parent
1040780c2d
commit
6a8863510d
4 changed files with 314 additions and 9 deletions
|
|
@ -17,7 +17,7 @@ import btools.codec.WaypointMatcher;
|
|||
import btools.util.ByteDataReader;
|
||||
import btools.util.Crc32;
|
||||
|
||||
final class OsmFile {
|
||||
final public class OsmFile {
|
||||
private RandomAccessFile is = null;
|
||||
private long fileOffset;
|
||||
|
||||
|
|
|
|||
|
|
@ -143,4 +143,14 @@ final public class PhysicalFile {
|
|||
elevationType = dis.readByte();
|
||||
} catch (Exception e) {}
|
||||
}
|
||||
|
||||
public void close(){
|
||||
if (ra != null) {
|
||||
try {
|
||||
ra.close();
|
||||
} catch (Exception ee) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue