X-Git-Url: http://gitweb.fperrin.net/?p=GpsPrune.git;a=blobdiff_plain;f=tim%2Fprune%2Fdata%2FSourceInfo.java;fp=tim%2Fprune%2Fdata%2FSourceInfo.java;h=d71280db8a5e45c28d594b0306b3b82c10797b16;hp=5e40eee953e1f31bd7c7755a8201665810215b7c;hb=2d8cb72e84d5cc1089ce77baf1e34ea3ea2f8465;hpb=1a735a99408fd3b0c5ac4fe7b2fdbdbb23d38f40 diff --git a/tim/prune/data/SourceInfo.java b/tim/prune/data/SourceInfo.java index 5e40eee..d71280d 100644 --- a/tim/prune/data/SourceInfo.java +++ b/tim/prune/data/SourceInfo.java @@ -17,6 +17,8 @@ public class SourceInfo private String _sourceName = null; /** File type */ private FILE_TYPE _fileType = null; + /** File title, if any */ + private String _fileTitle = null; /** Array of datapoints */ private DataPoint[] _points = null; @@ -50,6 +52,14 @@ public class SourceInfo _fileType = inType; } + /** + * @param inTitle title of file, eg from tag in gpx + */ + public void setFileTitle(String inTitle) + { + _fileTitle = inTitle; + } + /** * @return source file */ @@ -74,6 +84,14 @@ public class SourceInfo return _fileType; } + /** + * @return title of file + */ + public String getFileTitle() + { + return _fileTitle; + } + /** * @return number of points from this source */