What was the reason again the we don't have VirtualFile::isFile method?
OK, VirtualFile::isLeaf makes complete sense,
as you would like to diff jars vs. plain files.
But having VirtualFile::isFile would be useful.
My use case would be 'hasBeenModified' / hot deployment,
where in the case of (isFile == true) I wouldn't go into
the file even though it would be 'isLeaf == false' (the file is a jar).
Or is true/false isFile too narrow for other types of VirtualFileHandler.
e.g. Memort, Assembled, ...
And would getType make a better fit?
e.g. FILE, DIRECTORY, NONE, ...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4206047#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...