コード例 #1
0
 static {
   System.setProperty("org.htmlparser.tests.utilTests.HTMLParserUtilsTest", "HTMLParserUtilsTest");
 }
コード例 #2
0
 /**
  * Create an array of NodeFilters that combines the atyponBaseFilters with the given array
  *
  * @param nodes The array of NodeFilters to add
  */
 private NodeFilter[] addTo(NodeFilter[] nodes) {
   NodeFilter[] result = Arrays.copyOf(baseAtyponFilters, baseAtyponFilters.length + nodes.length);
   System.arraycopy(nodes, 0, result, baseAtyponFilters.length, nodes.length);
   return result;
 }