Revision 104,
372 bytes
checked in by wojtekp, 13 years ago
(diff) |
|
-
Property svn:mime-type set to
text/plain
|
Rev | Line | |
---|
[104] | 1 | package test.local.db.loader; |
---|
| 2 | |
---|
| 3 | /** |
---|
| 4 | * |
---|
| 5 | * @author Marcin Krystek |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | public class UsageReader extends StatsReader { |
---|
| 9 | |
---|
| 10 | protected String resourceName; |
---|
| 11 | |
---|
| 12 | public UsageReader(StatsParser p) { |
---|
| 13 | super(p); |
---|
| 14 | } |
---|
| 15 | |
---|
| 16 | public String getName(){ |
---|
| 17 | return this.values[0]; |
---|
| 18 | } |
---|
| 19 | |
---|
| 20 | public long getTimeStamp(){ |
---|
| 21 | return getAsLong(1); |
---|
| 22 | } |
---|
| 23 | |
---|
| 24 | public int getValue(){ |
---|
| 25 | return getAsInt(2); |
---|
| 26 | } |
---|
| 27 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.