Doing the setControlEncoding would be wonderful, I have recompiled the
code doing what you suggested and it does work, but I um can't use it
because its not an official release :)
-Original Message-
From: Daniel F. Savarese [mailto:[EMAIL PROTECTED]
Sent: Friday, August 06, 2004 9:46 AM
support the easy conversion to UTF-8.
Steve Cohen
On Wednesday 04 August 2004 2:01 pm, Ash, Michael L wrote:
> I sent this to the users group several days ago and haven't gotten a
> response so I thought I would send it here with some additional info I
> found.
>
> Is there a
I sent this to the users group several days ago and haven't gotten a
response so I thought I would send it here with some additional info I
found.
Is there any reason to not use UTF-8 instead of iso-8859-1?
The problem I am trying to solve is to send a file from an English based
client to a Chin
I, is immutable.)
"
Ash
-
Run, rabbit run.
Dig that hole, forget the sun,
And when at last the work is done
Don't sit down it's time to dig another one.
_
Our best dial-up o
. Whether in this case it makes sense or not,
I am throwing this idea for debate, and it would be good if a useful
addition can be made to the core library here.
Waiting for comments,
Ash
-
Run, rabbit run.
Dig that hole, forget the sun,
And when at last
coin may be useful in the long term. Just my 2 cents.
Ash
-Original Message-
From: Stephen Colebourne [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 09, 2003 22:15
To: Jakarta Commons Developers List
Subject: Re: [lang] StringBufferUtils replacement for StringUtils --
Ah, I see what you
ality available
elsewhere.
Ash
-Original Message-
From: Inger, Matthew [mailto:[EMAIL PROTECTED]
try the new "Tokenizer" class. You can get it from CVS.
-Original Message-
From: Ash .. [mailto:[EMAIL PROTECTED]
Subject: [lang] StringUtils.split() functionality wrt separa
-Original Message-
From: Paul Libbrecht [mailto:[EMAIL PROTECTED]
Dear Commonners,
LOL!! Funny name. Hope this place doesn't become commonplace thow!!
-
Run, rabbit run.
Dig that hole, forget the sun,
And when at last the work is done
special
view on backward-compatibility, what is the guiding principle here?
I ask this is special relevance to lang, collections and primitives, but the
question applies to any others within the commons framework as well.
Ash
_
Sign
I would like to know what the general roadmap for the primitives project is,
when the next release is slated to be, what remains to be done in view of
that release, and the kind.
Ash
_
Find a cheaper internet access deal - choose
away.
Oops, I had meant "public static int getIntValue(Map map, Object key)" and
so on.
Ash
PS: Waiting to know that the ArrayUtils.subarray() primitive implementation
was ok.
_
Sign-up for a FREE BT Broadband connecti
Please find enclosed the patches for the primitive-array implementations of
the subarray method. I am open to comments, especially on the tests.
Ashwin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
Hi Arun,
I had a look at Primitives, but I didnt find anything on primitive-value
maps.
Am I missing something here?
Ashwin
-Original Message-
From: Arun Thomas [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 17:54
Ash,
Classes for this purpose which previously
collections (lists and sets), why not
map? Maybe this was discussed before. In any case, perhaps we can have them.
Comments.
Ash
Reposting this, so that if we are decided on the method signatures, I can
work on the implementation this weekend.
Ash
[Stephen]
I would only add the
full signature version
Reposting this, so that if we are decided on the method signatures, I can
work on the implementation this weekend.
Ash
[Stephen]
I would only add the
full signature version (with default). That way the method name can just be
getDouble().
But that would provoke the question "if I wa
terminology
(implementors and adaptors and the like.) I am thus tempted to include here
an old article in which I explained then whens and whys of -er and -or.
It also has an answer for Simon's musing (on consistency.)
Ash
Here goes..
-er v/s -or.
-
Which comes when? What is
, perhaps this was already discussed.
Yep, all your examples are right to have "-or".
And also function-->functor.
I'm convinced. Substitutor it is (unless the decision is made to rename
it completely :-)
Funnily, digester then must be renamed to digestor!
("Now, who's t
be
rather old (2-3 months and the like). I would appreciate pointers/more info
on this.
Thanks,
Ash
_
On the move? Get Hotmail on your mobile phone http://www.msn.co.uk/msnmobile
a very old class in [collections] and pre-dates me. I would
probably
oppose adding these methods now.
But why??
Ash
-Original Message-
From: Stephen Colebourne [mailto:[EMAIL PROTECTED]
This is a very old class in [collections] and pre-dates me. I would
probably
oppose adding these m
.
And of course, we must strive to achieve a consistent naming standard and
stick to it. Hence all this debate.
Ash
-Original Message-
From: __matthewHawthorne [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 30, 2003 22:37
I was referring to whether we consider the word "array&quo
son();
Or, am I missing something here?
Talking about String.subSequence, if I am right, it was so named because
there exists a word called "subsequence" in English, which has no direct
bearing with "sub + sequence", thus the emphasis:
"sub-sequence". Another example
c int[] ArrayUtils.subarray(int[] array, int
startIndexInclusive, int endIndexExclusive);
etc...
Ash
_
Express yourself with cool emoticons - download MSN Messenger today!
http://www.msn.co.uk/mess
;,
I would say, having a built-in method enhances the use of this class than
having a programmer resort to such multiple method call. Of course, the
internal implementation would do the same, but in the end, client code would
look far neater.
Let me
alternative precedent, so I am open to opinions.
Stephen
- Original Message -
From: "Ash .." <[EMAIL PROTECTED]>
Thanks for integrating the subarray implementation patch.
However, I am curious to know why Stephen chose to name the method
"subArray", in place of
&
Here is my submission of the ArrayUtils.subarray() with the changes
suggested
by Stephen.
Eagerly waiting for feedback and more.
Ash
- Original Message -
From: "Stephen Colebourne" <[EMAIL PROTECTED]>
To: "Jakarta Commons Developers List" <[EMAIL PROT
would
require manual intervention.
[Ash]
I did try to match the formatting, but some of the differences in the format
seemed to have simply missed me. I'll ensure 100% conformance next
submission onwards.
2) The array copy should be done using System.arraycopy, unless you can
demonstrate the
PFE a first implementation of the proposed
ArrayUtil.subarray()implemented to take an Object array.
Also encl some basic testcases.
This is my first contribution, so I might take a while to get used to the
some of the procedures of the group.
Waiting for feedback and criticism.
Thanks,
Ashwin
lusiveness aspect.
>
> To proceded with ArrayUtils.subarray (gets you started), submit a CVS
patch
> against the latest CVS with the new addition and suitable tests.
>
I'll send this across presently.
Ash
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
In my previous email,
/**
*
* StringUtils.lead("abc", '.', 3) = "abc..."
*/
This should be:
/**
*
* StringUtils.trail("abc", '.', 3) = "abc..."
*/
From: "Ash .." <[EMAIL PROTECTED]>
To: [
.
I would be glad to submit an implementation to the concerned people, if you
feel this functionality
is include-worthy.
Thanks,
Ash
/**
* Flanks the given string with the flank String or char.
*
* StringUtils.flank(null, *) = null
* StringUtils.flank
mention all of them at one go? Since I am new to this group, I am not very
familiar with your preferred way. Curious to know.
Cheers,
Ash
Hello again,
Adding to my earlier email I just sent out, I wish to give an example here,
of some of the ideas I have.
The concept of a "naught"
class:
StringUtils.isNaught(String str)
And more such to go. Waiting for some feedback.
Thanks,
Ash
-Original Message-
From: ASHWIN Suresh
Sent: Saturday, November 22, 2003 20:47
To: 'Jakarta Commons Developers List'
Subject: new functionality in some of the commons classes
Hell
32 matches
Mail list logo