X-Git-Url: http://gitweb.fperrin.net/?p=GpsPrune.git;a=blobdiff_plain;f=src%2Ftim%2Fprune%2Fsave%2Fxml%2FGpxCacherList.java;fp=src%2Ftim%2Fprune%2Fsave%2Fxml%2FGpxCacherList.java;h=87b62b731465acee55248db1172474247153116b;hp=0000000000000000000000000000000000000000;hb=ce6f2161b8596f7018d6a76bff79bc9e571f35fd;hpb=2d8cb72e84d5cc1089ce77baf1e34ea3ea2f8465 diff --git a/src/tim/prune/save/xml/GpxCacherList.java b/src/tim/prune/save/xml/GpxCacherList.java new file mode 100644 index 0000000..87b62b7 --- /dev/null +++ b/src/tim/prune/save/xml/GpxCacherList.java @@ -0,0 +1,66 @@ +package tim.prune.save.xml; + +import tim.prune.data.DataPoint; +import tim.prune.data.FileInfo; +import tim.prune.data.SourceInfo; + +/** + * Class to hold a list of GpxCacher objects + * and get the original source xml for data points + */ +public class GpxCacherList +{ + /** Array of Gpx Cachers */ + private GpxCacher[] _cacherList = null; + + /** + * Constructor + * @param inInfo file info object + */ + public GpxCacherList(FileInfo inInfo) + { + int numFiles = inInfo.getNumFiles(); + _cacherList = new GpxCacher[numFiles]; + for (int i=0; i