Re: Extending existing methods of base classes and Loose Methods.
- From: Marc Michael <newsgrouppostfach@xxxxxxxxxxxx>
- Date: Wed, 19 Mar 2008 09:50:28 -0700 (PDT)
On 3 Mrz., 13:36, "Esteban A. Maringolo" <eMaring...@xxxxxxxxx> wrote:
Hi Marc,
Marc Michael escribió:
On 25 Feb., 16:01, cenopel...@xxxxxxxxx wrote:
I would use sublcass, or any other way, it would be interested to here
further toths on this subject.
A subclass wouldn't be fine IMO. My application is a simple URL-
Encoder/-Decoder. I want to encode a string. So I simply added a
method urlEncoder to the class String and now I am able to do the
following:
'Hello#World' urlEncode
Just FYI, the Swazoo package, already defines such functionality on
String, trough httpEncoded/httpDecoded methods.
Thanks for the hint. I have taken a look on it. Looks good. He has
made it the other side around; I have created a set which determines
which characters should be encoded, he created a set which determines
which character should not be encoded.
Best wishes,
Marc Michael
.
- References:
- Re: Extending existing methods of base classes and Loose Methods.
- From: Marc Michael
- Re: Extending existing methods of base classes and Loose Methods.
- From: Esteban A. Maringolo
- Re: Extending existing methods of base classes and Loose Methods.
- Prev by Date: Re: Problem loading Cursor in deployed .exe
- Next by Date: Re: Magritte Seaside
- Previous by thread: Re: Extending existing methods of base classes and Loose Methods.
- Next by thread: Re: Extending existing methods of base classes and Loose Methods.
- Index(es):