remote test
This commit is contained in:
@@ -104,7 +104,10 @@ public class AHTreeReader {
|
||||
content = content.substring(content.indexOf("</li>") + 5);
|
||||
String categoryId = elem.substring(elem.indexOf("catId=\"") + 7, elem.indexOf("\"><a "));
|
||||
String categoryName = elem.substring(elem.indexOf("<a ") + 29, elem.indexOf("</a>"));
|
||||
n.children.add(new TreeNode<String, String>(categoryId, categoryName));
|
||||
|
||||
TreeNode<String, String> newNode = new TreeNode<String, String>(categoryId, categoryName);
|
||||
n.children.add(newNode);
|
||||
getSubcategories(newNode);
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user