diff options
Diffstat (limited to 'main/src/cgeo/geocaching/export/AbstractExport.java')
-rw-r--r-- | main/src/cgeo/geocaching/export/AbstractExport.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/export/AbstractExport.java b/main/src/cgeo/geocaching/export/AbstractExport.java new file mode 100644 index 0000000..e88b1e6 --- /dev/null +++ b/main/src/cgeo/geocaching/export/AbstractExport.java @@ -0,0 +1,19 @@ +package cgeo.geocaching.export; + +import cgeo.geocaching.cgeoapplication; + +public abstract class AbstractExport implements Export { + private String name; + + protected AbstractExport(final String name) { + this.name = name; + } + + public String getName() { + return name; + } + + protected static String getString(int ressourceId) { + return cgeoapplication.getInstance().getString(ressourceId); + } +} |