On Wed, 01 Dec 2004, Jesse Glick <[EMAIL PROTECTED]> wrote:
> Stefan Bodewig wrote:
>> Initially we thought we'd provide subclasses for different OSes
>> like OpenVMSFileUtils or NetwareFileUtils and would use
>> newFileUtils as a factory method.

> But it seems that various methods already do OS-dependent checks;
> this should work equally well with static methods, right?

Yes.  You must have missed my

> We never did so, though.

The way the methods are implemented is not the way we envisioned when
we made FileUtils a factory.  Somehow the OS dependent code crept into
the methods as ifs instead of getting rolled into subclasses.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to