A fine idea. Perhaps: commentdelimiter="foo" as an attribute.

Then all you'd need is:

public void setCommentdelimiter(String commentDelimiter)
{
        this.commentDelimiter = commentDelimiter;
}

(and of course you'd have to do something with the commentDelimiter when 
you're paring out the SQL, but hopefully that code is already written.)

The API is super simple, so hopefully the code is fairly  clean.

Best of luck with it!

-Ian

On Friday, May 18, 2001, at 03:20  AM, Conor MacNeill wrote:

> Nik,
>
> Maybe you should make the set of comment characters and styles (block v
> line) somehow configurable rather than continuing to add new ones ad 
> hoc. I
> think we now have --, // and REM.
>
> Conor
>
>
>

Reply via email to