1
2 package ch.qos.logback.core.rolling.helper;
3
4
5
6
7
8
9
10
11
12
13
14
15 public class TokenConverter {
16
17
18 static final int IDENTITY = 0;
19 static final int INTEGER = 1;
20 static final int DATE = 1;
21 int type;
22 TokenConverter next;
23
24 protected TokenConverter(int t) {
25 type = t;
26 }
27
28 public TokenConverter getNext() {
29 return next;
30 }
31
32 public void setNext(TokenConverter next) {
33 this.next = next;
34 }
35
36 public int getType() {
37 return type;
38 }
39
40 public void setType(int i) {
41 type = i;
42 }
43
44 }