File: FileType.java

package info (click to toggle)
gpsprune 26.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,824 kB
  • sloc: java: 52,154; sh: 25; makefile: 21; python: 15
file content (22 lines) | stat: -rw-r--r-- 344 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package tim.prune.data;

/** File type and version of source file */
public enum FileType
{
	TEXT("text"),
	GPX("gpx"),
	KML("kml"),
	NMEA("nmea"),
	GPSBABEL("gpsbabel"),
	JSON("json");

	private final String _token;

	private FileType(String inToken) {
		_token = inToken;
	}

	public String getTextKey() {
		return "filetype." + _token;
	}
}