[jcifs] Array sort by date modified in smbfiles

Caldarale, Charles R Chuck.Caldarale at unisys.com
Sat Oct 30 08:50:39 MDT 2010

> From: jcifs-bounces at lists.samba.org
> [mailto:jcifs-bounces at lists.samba.org] On Behalf Of Iván
> Subject: [jcifs] Array sort by date modified in smbfiles

> I'm implementing a project with JCIFS where I want to sort 
> the array returned by the method "listFiles".

So wrapper or extend jcifs.smb.SmbFile with your own class that implements Comparable and sort on that.  Standard Java programming.

 - Chuck

THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

More information about the jCIFS mailing list