blob: f40a3e8231a194f7e17acdd747e9801b393dbe20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package cgeo.geocaching.connector.ox;
import cgeo.geocaching.Geocache;
import cgeo.geocaching.files.GPX10Parser;
public class OXGPXParser extends GPX10Parser {
private final boolean isDetailed;
public OXGPXParser(int listIdIn, boolean isDetailed) {
super(listIdIn);
this.isDetailed = isDetailed;
}
@Override
protected void afterParsing(Geocache cache) {
cache.setUpdated(System.currentTimeMillis());
if (isDetailed) {
cache.setDetailedUpdate(cache.getUpdated());
cache.setDetailed(true);
}
}
}
|