Skip to content

oscar0812/JavaQuery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaQuery

Java library with jQuery functionality on html

Currently supports search and modification of elements.

Current supported methods:

parent();
parent(String);
children();
children(String)
find(String)
getClasses();
getID();
element();
html();
text();

Example snippet:

String html = "file:///Users/oscartorres/Dropbox/Homepage/main/main_page.html";
HtmlFile file = new HtmlFile(html);
JQuery jQuery = new JQuery(file);
JQueryObject obj = jQuery.getRoot();

System.out.println(obj.find("div").getClasses());

Example usage: Alt text

Releases

No releases published

Packages

No packages published

Languages