Saturday, April 12, 2014

Parsing a string


 

















































































No.

3402040000176561

illegal Time

2012-07-25 09:51:00.0

illegal Address

Big Lake Road intersection to nine workers nantang mountain road in southern intersection

violations

Parked in violation of regulations, temporary off-site parking and the driver or person is at the scene refused to leave immediately, impede other vehicles, pedestrians
driving

collection agencies

Yijiang Battalion squadron

No.

3201000029912277

illegal Time

2012-10-04 08:09:00.0

illegal Address

Yunjin Yingtian Avenue Road junction

violations


Do not follow the traffic lights motor vehicle traffic regulations

collection agencies


Nanjing, Jiangsu Province Public Security Traffic Management Bureau

No.

3201220031381070

illegal Time

2013-02-25 14:24:00.0

illegal Address

Pu PuKou Avenue Road junction

violations


Driving a motor vehicle in violation of the prevailing road traffic lights

collection agencies

Pukou Nanjing Public Security Bureau Traffic Police Battalion

No.

3402040000270156

illegal Time

2013-08-09 13:51:00.0

illegal Address

Yijiang with Saffron Hill Road to the intersection of South and West Road, MA Ren Yijiang intersection road

violations

Driving medium-sized passenger trucks, other vehicles traveling outside the transport of dangerous goods vehicles over less than 20% of the speed of 10 percent or more provisions

collection agencies

Yijiang brigade

No.

3499081000103456

illegal Time

2013-07-21 09:06:28.0

illegal Address

Wu co Expressway Anhui Section 0006 km 650 m

violations

After a vehicle malfunction or accident, do not set the warning signs in accordance with the provisions of

collection agencies

Wuhu speed a brigade


How these five violations, resolve to a record,
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Web crawler to see
Reply:
violations


Driving medium-sized passenger trucks, other vehicles traveling outside the transport of dangerous goods vehicles over less than 20% of the speed of 10 percent or more provisions

"How these five violation, parsed into a record," refers to the offense behind a record that you
According to my understanding is superficial to match such a sentence violations to End then read the contents
But you wrap this match rules require more attention and more testing
Reply:
htmlparser.jar
Reply:
http://www.ibm.com/developerworks/cn/xml/x- tiptidy /
Now consider the html parsed into xml format, xml parsing is very easy to handle
Reply:
This is also the line http://www.th7.cn/Program/ java/2011/12/07/49658.shtml
Reply:
Agree with the LS!

No comments:

Post a Comment