DO NOT REPLY [Bug 39272] - [io] FileUtils needs a toString that takes a filename and returns its contents as a string

2006-04-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=39272.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39272


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX




--- Additional Comments From [EMAIL PROTECTED]  2006-04-16 19:43 ---
These two proposals seem like a bad idea.

1) FileUtils operates on Files. Thats why its named as is. File objects are just
a much more reliable way to hold and manage files.

2) Using a default encoding is bad practice. The default may vary between a
development PC and live Unix box. Also, UTF8 would be much preferred in most
situations.

There may be a separate call for methods that hard code the UTF8 encoding, but
thats a different call, and the methods would be named xxxUTF8().

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 39272] - [io] FileUtils needs a toString that takes a filename and returns its contents as a string

2006-04-14 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=39272.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39272


[EMAIL PROTECTED] changed:

   What|Removed |Added

Summary|FileUtils needs a toString  |[io] FileUtils needs a
   |that takes a filename and   |toString that takes a
   |returns its contents as a   |filename and returns its
   |string  |contents as a string




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]