not 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 any reason to not use UTF
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
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
. 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
name at the expense
of this convenience: (*** MutableString).
As a compromise between the two, the name Strand can be adopted (Str...
thus near the original one + can be defined to represent a mutable
string contrasted with String which, by virtue of the so-named
class in the API, is immutable.)
Ash
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
-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
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 separator repeats
.
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 connection today!
http
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
. And with 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
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 want to retrieve
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
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
to 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
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 the pattern?
I attempt to answer the questions.
-er is the native (Old) English and common Germanic (Dutch,
German, etc) suffix for agent
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 methods now
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
subarray.
In the English language, the prefix sub in this sense
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 know,
Ash
[] ArrayUtils.subarray(int[] array, int
startIndexInclusive, int endIndexExclusive);
etc...
Ash
_
Express yourself with cool emoticons - download MSN Messenger today!
http://www.msn.co.uk/messenger
();
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 would be re-store (= store again.)
Ash
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 to be a common part
of language
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 PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday
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
addition and suitable tests.
I'll send this across presently.
Ash
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
.
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.
* pre
* StringUtils.flank(null, *) = null
* StringUtils.flank
In my previous email,
/**
* pre
* StringUtils.lead(abc, '.', 3) = abc...
*/
This should be:
/**
* pre
* StringUtils.trail(abc, '.', 3) = abc...
*/
From: Ash .. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Hi,
I would like to propose the following methods to the StringUtils
)
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
Hello all,
I am new to the list, and am here after my recent
29 matches
Mail list logo