Commits

Ville Saalo  committed 29f8ecb

Renamed ICachesToTextParser to ICachesToTabularDataParser, according to its new purpose.

  • Participants
  • Parent commits 12edce7

Comments (0)

Files changed (4)

File src/geogpxparser/CacheListParser.java

  *
  * @author Ville Saalo (http://coord.info/PR32K8V)
  */
-public class CacheListParser implements ICachesToTextParser {
+public class CacheListParser implements ICachesToTabularDataParser {
 
     private static final DateTimeFormatter OUTPUT_DATE_TIME_FORMAT = DateTimeFormat.forPattern("yyyy-MM-dd");
-    private static final String separator = "\t";
 
     @Override
     public TableData getTabularInfo(final List<Geocache> caches) {

File src/geogpxparser/ICachesToTabularDataParser.java

+package geogpxparser;
+
+import geogpxparser.tabular.TableData;
+import java.util.List;
+
+/**
+ * An interface for classes that can accept a List of Geocache objects and parse
+ * them into tabular format.
+ *
+ * @author Ville Saalo (http://coord.info/PR32K8V)
+ */
+public interface ICachesToTabularDataParser {
+
+    public TableData getTabularInfo(final List<Geocache> caches);
+}

File src/geogpxparser/ICachesToTextParser.java

-package geogpxparser;
-
-import geogpxparser.tabular.TableData;
-import java.util.List;
-
-/**
- * An interface for classes that can accept a List of Geocache objects and parse
- * them into tabular format.
- *
- * @author Ville Saalo (http://coord.info/PR32K8V)
- */
-public interface ICachesToTextParser {
-
-    public TableData getTabularInfo(final List<Geocache> caches);
-}

File src/geogpxparser/OwnerStatsParser.java

  *
  * @author Ville Saalo (http://coord.info/PR32K8V)
  */
-public class OwnerStatsParser implements ICachesToTextParser {
+public class OwnerStatsParser implements ICachesToTabularDataParser {
 
     private Map<String, Owner> owners = new LinkedHashMap<>();