projects
/
pnews.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'master' of ssh://wpitchoune.net/srv/git/pnews
[pnews.git]
/
pnews
/
src
/
main
/
java
/
pnews
/
Category.java
1
package pnews;
2
3
public enum Category {
4
TOP("top"),
5
FRANCE("france"),
6
SPORT("sport"),
7
EUROPE("europe"),
8
ECO("eco"),
9
ESSONNE("essonne"),
10
TECHNOLOGIE("technologie"),
11
PEOPLE("people");
12
13
private final String id;
14
15
private Category(String id) {
16
this.id = id;
17
}
18
19
public String getId() {
20
return id;
21
}
22
}