source: xssim/trunk/src/test/local/db/loader/UsageReader.java @ 104

Revision 104, 372 bytes checked in by wojtekp, 13 years ago (diff)
  • Property svn:mime-type set to text/plain
Line 
1package test.local.db.loader;
2
3/**
4 *
5 * @author Marcin Krystek
6 *
7 */
8public 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.