Paul Brown wrote: >> Alex Boisvert wrote: >> > void deploy( String pathToUnpackedResources ) >> > void undeploy( String pathToUnpackedResources ) >> Please use Files as arguments instead of Strings. They exist for a >> reason. :) > > In that vein, URL would probably be preferable to File, as it can > reach inside of JARs or across the net as well as onto the filesystem.
I read *path* To *UnpackedResources* as local. > That said, it's not always the case that the set of URL protocols in > one location is the same as within the server, and with that in mind, > Strings are preferable. Erm..that is true but how do Strings help then, when the server still has to interpret them? Is it a path, an URL, a plane? File removes that ambiguity, and the server has a local temporary work directory anway. cheers Holger
