What if we drop the Asset all together and make a add method like:
| archive.add(Path)
|
Maybe we then also have to support all the convenience overloads like ?
| addManifestResource(Path)
| addWebResource(Path)
| etc..
|
Path should then probably have a isDirectory method, checking if it ends with '/'
seems to be common. Could add checks to other add methods so you can't add a Asset to
a directory Path, can't get the Asset of a directory path etc..
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269238#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...