Hi

> Here is my problem, I am looking for a way to syntactically valid a given
URL without having to actually creating an URL object.

try {
  new URL( myUrl );
  return true;
} catch ( Throwable t ) {
  return false;
}

Why not creating it?
Javas young generation garbage collection should dispose this immediatly. So
problem here.

Regards,
  Steffen


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

Reply via email to