commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Sanders" <ssand...@nextance.com>
Subject RE: [IO] is there a main test source somewhere?
Date Thu, 21 Feb 2002 01:29:09 GMT
Go ahead and create one.  That is just a stubbed out class to make the
build test target work.

Scott

> -----Original Message-----
> From: Steven Caswell [mailto:stevencaswell@yahoo.com] 
> Sent: Wednesday, February 20, 2002 5:30 PM
> To: 'Jakarta Commons Developers List'
> Subject: [IO] is there a main test source somewhere?
> 
> 
> In the io test path, there is an IOTestCase.java without a 
> main method. Is there a source somewhere that invokes this 
> test, or should I go ahead and create one? (I also looked in 
> the util source test path and didn't see one.)
> 
> 
> Steven Caswell
> stevencaswell@yahoo.com
> a.k.a Mungo Knotwise of Michel Delving
> "One ring to rule them all, one ring to find them..."
> 
> 
> -----Original Message-----
> From: Scott Sanders [mailto:ssanders@nextance.com] 
> Sent: Tuesday, February 19, 2002 6:54 PM
> To: Jakarta Commons Developers List
> Subject: RE: [IO] proposal to make the following changes to FileUtils
> 
> 
> Steven,
> 
> These all sound like fine ideas.  Could you just provide a 
> patch to this list and I will see that it is taken care of.
> 
> If you have questions about how to submit a patch, please 
> refer to: http://jakarta.apache.org/site/bugs.html
> 
> 
> Thanks,
> Scott Sanders
> 
> > -----Original Message-----
> > From: Steven Caswell [mailto:stevencaswell@yahoo.com]
> > Sent: Tuesday, February 19, 2002 1:59 PM
> > To: Jakarta Commons Developers List
> > Subject: [IO] proposal to make the following changes to FileUtils
> > 
> > 
> > I propose making the following changes to FileUtils:
> > 
> > 1. Change the fileRead method to estimate the size of the 
> file content 
> > and instantiate the StringBuffer with this size. 2. Change 
> the return 
> > of fileRead to be StringBuffer.  IMHO this is a little more 
> flexible 
> > in that the caller can more easily manipulate a 
> StringBuffer, and if 
> > the caller wants it as a String, can easily invoke 
> toString(). 3. Add 
> > an overloaded fileWrite method accepting the data to be written
> > as a byte array rather than a String. 4. Add a 
> > copyFile(String sourceFileName, String targetFileName) that 
> > makes a copy of the source file into the destination.
> > 
> > These are all things I have in my own private common area and can 
> > easily provide to commons-io
> > 
> > 
> > Steven Caswell
> > stevencaswell@yahoo.com
> > a.k.a Mungo Knotwise of Michel Delving
> > "One ring to rule them all, one ring to find them..."
> > 
> > 
> 
> --
> To unsubscribe, e-mail: 
> <mailto:commons-dev-> unsubscribe@jakarta.apache.org>
> For 
> additional commands, 
> e-mail: <mailto:commons-dev-help@jakarta.apache.org>
> 
> 
> 
> 
> _________________________________________________________
> 
> Do You Yahoo!?
> 
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:commons-dev-> unsubscribe@jakarta.apache.org>
> For 
> additional commands, 
> e-mail: <mailto:commons-dev-help@jakarta.apache.org>
> 
> 

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message