On Thu, Oct 9, 2008 at 2:07 PM, Andrea Francia <[EMAIL PROTECTED]> wrote:
> It's harmful for those ftplet implementations that are not designed to be
> used for any clients and don't want implement ordering.

As I asked for before, could you please describe why ordering the
files is a problem for you. Then maybe we would have a better
understanding of the problem and how to resolve it. To me, in most
cases, this comes down to having this code in the implementation:
        Arrays.sort(files, new Comparator<FtpFile>() {
            public int compare(FtpFile f1, FtpFile f2) {
                return f1.getShortName().compareTo(f2.getShortName());
            }

        });

Besides, I don't understand why you need to implement this method at
all if your doing an Ftplet implementation. The method is part of the
FileSystem API (which might be used by an Ftplet).

/niklas

Reply via email to