On 6/16/06, Vitaliy S <[EMAIL PROTECTED]> wrote:
Hello
I wrote several methods that I'd like to donate to IOCommons FileUtil class
/** converts file (or directory) to byte array using jar algorithm */
byte[] toJarBytesArray(File file) throws IOException
/** converts file (or directory) to byte array using zip algorithm */
byte[] toZipBytesArray(File file) throws IOException
/*lists all files in folder and it's subfolders */
File[] listRecursive(File file)
also I can provide ArrayCommons class (don't know to what commons
project it should be addressed,probably it fits collections)
This class provides mean to inseart, delete, find, etc elements in array.
The best way is to submit an Issue ticket using JIRA:
http://jakarta.apache.org/commons/io/issue-tracking.html
A patch against the current version of the file is the preferred method:
http://jakarta.apache.org/commons/io/cvs-usage.html
http://jakarta.apache.org/commons/patches.html
Niall
Regards,
Vitaliy S
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]