Mercurial > hg > Members > nobuyasu > jungle-network
comparison src/jungle/test/bbs/codesegment/StartBBSCodeSegment.java @ 46:fd3643699f83
modified pom.xml. fix conflict log4j libraries
author | one |
---|---|
date | Fri, 12 Jul 2013 11:27:00 +0900 |
parents | bf3dc481cc9b |
children | 686057add8a4 |
comparison
equal
deleted
inserted
replaced
45:bf3dc481cc9b | 46:fd3643699f83 |
---|---|
32 } | 32 } |
33 | 33 |
34 public void run() { | 34 public void run() { |
35 System.out.println("StartBBSCodeSegment"); | 35 System.out.println("StartBBSCodeSegment"); |
36 String name = host.asString(); | 36 String name = host.asString(); |
37 System.out.println("name : "+ name); | |
37 Matcher matcher = pattern.matcher(name); | 38 Matcher matcher = pattern.matcher(name); |
38 matcher.find(); | 39 matcher.find(); |
39 String type = matcher.group(1); | 40 String type = matcher.group(1); |
40 int num = new Integer(matcher.group(2)); | 41 int num = new Integer(matcher.group(2)); |
41 | 42 |