资 源 简 介
in many case ,we have to process some infomation based on html pages. In order to hide the verbose regular match and convertion,we can use the component ,and just only pay attation on our business point.
simple usage
```
public class ClientTest extends TestCase{
public void testParse() throws IOException{
String resource = "h2j_config.xml";
Reader reader = Resources.getResourceAsReader(resource);
Html2JavabeanClient client = Html2JavabeanClientBuilder.buildSqlMapClient(reader);
StringWriter sw = new StringWriter();
InputStream is = Resources.getResourceAsStream("oneuser.html");
BufferedReader reader1 = new BufferedReader(new InputStreamReader(is));
String temp = null;
while((temp = reader1.readLine()) != null){
sw.write(temp);
}
reader1.close();
User u = (User)client.parseForObject("user1", sw.getBuffer().toString());
System.out.println(u.getName() + &qu