On Thu, 21 Sep 2006, Matt Benson <[EMAIL PROTECTED]> wrote:

> Okay, I've never used the custom protocol handlers,
> only read about them.  I have no problem taking the
> word of others that there may be difficulties;

Same here.

> Let me interject on that thought.  Currently
> Resource.getInputStream()/.getOutputStream() throw UOE
> in the base implementation, without related pre-check
> methods as you mention above.  It may be a good idea
> to add these.

If we add them for getURL(), yes, we should be consistent.

> The base implementation of these checkers could either return false,
> leaving it to the subclasses to override, OR the base implementation
> could call the related get...() method; catch any UOE and return
> false, or close() the stream if successfully retrieved.

I'd keep that simple, i.e. return false;

Stefan

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

Reply via email to