This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I often need to find a FileObject, starting from the given one. Given the current APIs, I have to descend into the fileobject tree manually, parsing the path myself. I think a convenience method would be very helpful. I also think that there should be something like getChild(String nameExt); current APIs require me to parse the whole filename for extension and hand them separately to the FileSystem API. Again, that is incovenient. If accepted as valid, I volunteer to create & attach implementation patch :-)
Set target milestone to TBD
I would accept it, but I wouldn`t add any new method. Perhaps method getFileObject (you call it getChild) could be enough. If you pass name that caontains '/', then it finds deeper in hierarchy. Also getFileObject (String name) exists. I`ll check it and fix it to be able pass name including extension.
*** This issue has been marked as a duplicate of 34730 ***