projects
/
pnews.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
updated
[pnews.git]
/
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
10
private final String id;
11
12
private Category(String id) {
13
this.id = id;
14
}
15
16
public String getId() {
17
return id;
18
}
19
}