blob: c5bf3c0291385d8a5d93dd1132844273ccaa58c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
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;
}
/**
* Generates a localized string from a ressource id.
*
* @param ressourceId
* the ressource id of the string
* @return localized string
*/
protected static String getString(int ressourceId) {
return cgeoapplication.getInstance().getString(ressourceId);
}
}
|