jOOX - The Power of jQuery Applied to W3C DOM Like JDBC, DOM is a powerful, yet very verbose low-level API to manipulate XML. The HTML DOM an be manipulated with the popular jQuery product, in JavaScript. Why don't we have jQuery in Java? jOOX is jQuery's XML parts, applied to Java.
Most modern Java APIs return objects of type Path or Stream<Path>. Having to convert every Path object to a File using path.toFile() seems tedious and unnecessary.
Because JOOX.$ already has quite a few overloads, another overload accepting a Path object wouldn't hurt.
Steps to reproduce the problem:
Joox.$(Path.of("/home/helpermethod")); // seems to work but selects the wrong overload
Expected behavior and actual behavior:
Most modern Java APIs return objects of type
Path
orStream<Path>
. Having to convert everyPath
object to aFile
usingpath.toFile()
seems tedious and unnecessary.Because JOOX.$ already has quite a few overloads, another overload accepting a Path object wouldn't hurt.
Steps to reproduce the problem:
Versions: