--- Stefan Bodewig <[EMAIL PROTECTED]> wrote: > On Thu, 10 Mar 2005, Stefan Bodewig > <[EMAIL PROTECTED]> wrote: > > > Resource instead of File could be even better. > > Just to be clear, I'm talking about the existing > oata.types.Resource > here which already gets used by zip family of tasks.
Yeah, not a bad idea. Do you think we are setting ourselves up for trouble here, though? If a task needs actual Files, for whatever reason... it calls FileUtils.copyFile, it passes filenames to another class or executable... then we have to check that we are not dealing with ZipEntries, right? Also, you have the fact that Resource names are often going to be relative, so we would have to add the basedir into the Resource in order for a standalone Resource to be meaningful, or convert every Resource to absolute form, which still doesn't catch the ZipEntries... Thoughts on this? -Matt > > We may even add a getInputStream method to it ... > > Stefan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]