RE: Commons-net.FTPClient

2004-08-06 Thread Ash, Michael L
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

RE: Commons-net.FTPClient

2004-08-06 Thread Ash, Michael L
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

Commons-net.FTPClient

2004-08-04 Thread Ash, Michael L
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

[lang] new StringBuffer.. what to call it

2003-12-11 Thread Ash ..
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

[lang] concept proposal: error resort

2003-12-11 Thread Ash ..
. 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

[lang] new StringBuffer

2003-12-09 Thread 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

RE: [lang] StringUtils.split() functionality wrt separator repeats

2003-12-08 Thread Ash ..
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

RE: [Jelly] Anyone cares in patches?

2003-12-08 Thread Ash ..
-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

class-mobility between packages

2003-12-05 Thread Ash ..
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

[primitives] roadmap

2003-12-05 Thread Ash ..
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

Re: FW: [collections] MapUtils.getXxx() return types - repost

2003-12-05 Thread Ash ..
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

[lang] ArrayUtils.subarray(primitives) patch

2003-12-04 Thread Ash
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

RE: FW: [collections] Primitive-value maps

2003-12-04 Thread Ash ..
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] Primitive-value maps

2003-12-04 Thread Ash ..
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

RE: FW: [collections] MapUtils.getXxx() return types - repost

2003-12-04 Thread 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 (with default). That way the method name can just be getDouble(). But that would provoke the question "if I wa

-er or -or: offshoot from [digester] variable expansion

2003-12-03 Thread Ash
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

RE: [digester] variable expansion

2003-12-03 Thread Ash ..
, 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

[collections] general roadmap

2003-12-03 Thread Ash ..
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

RE: FW: [collections] MapUtils.getXxx() return types

2003-12-01 Thread Ash ..
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

RE: [lang] StringUtils.subarray v/s subArray

2003-11-30 Thread Ash ..
. 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

RE: [lang] StringUtils.subarray v/s subArray

2003-11-30 Thread Ash ..
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

[lang] ArrayUtils.subarray() array types

2003-11-30 Thread Ash ..
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

[collections] MapUtils.getXxx() return types

2003-11-30 Thread Ash ..
;, 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

Re: [lang] StringUtils.subarray v/s subArray

2003-11-30 Thread Ash ..
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 &

[lang][patch]ArrayUtils.subarray(Object, startIndex, endIndex) implementation v1.1

2003-11-28 Thread Ash
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

RE: [lang][PATCH] ArrayUtil.subarray(Object, startIndex, endIndex) implementatio

2003-11-26 Thread Ash ..
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

[lang][PATCH] ArrayUtil.subarray(Object, startIndex, endIndex) implementation v 1.0

2003-11-24 Thread Ash
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

Re: [lang] new functionality in StringUtils and ArrayUtils - proposal 01

2003-11-24 Thread Ash
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]

Re: [lang] new functionality in StringUtils and ArrayUtils - proposal 01 - error

2003-11-23 Thread Ash ..
In my previous email, /** * * StringUtils.lead("abc", '.', 3) = "abc..." */ This should be: /** * * StringUtils.trail("abc", '.', 3) = "abc..." */ From: "Ash .." <[EMAIL PROTECTED]> To: [

[lang] new functionality in StringUtils and ArrayUtils - proposal 01

2003-11-23 Thread Ash ..
. 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

re: new functionality in some of the commons classes - contd

2003-11-23 Thread Ash ..
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"

new functionality in some of the commons classes - contd

2003-11-22 Thread Ash ..
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