Changeset 31 for sample/hadoop-0.16/tw/org/nchc/code/LogParser.java
- Timestamp:
- Jul 17, 2008, 3:35:18 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sample/hadoop-0.16/tw/org/nchc/code/LogParser.java
r30 r31 1 /** 2 * Program: LogParser.java 3 * Editor: Waue Chen 4 * From : NCHC. Taiwn 5 * Last Update Date: 07/02/2008 6 */ 7 1 8 package tw.org.nchc.code; 2 9 … … 10 17 11 18 12 public class AccessLogParser {19 public class LogParser { 13 20 private String ip; 14 21 private String protocol; … … 27 34 28 35 29 public AccessLogParser(String line) throws ParseException, Exception{36 public LogParser(String line) throws ParseException, Exception{ 30 37 31 38 Matcher matcher = p.matcher(line);
Note: See TracChangeset
for help on using the changeset viewer.