/*
 * (c) Copyright: Artenum SARL, 101-103 Boulevard Mac Donald,
 *                75019, Paris, France 2005.
 *                http://www.artenum.com
 *
 * License:
 *
 *  This program is free software; you can redistribute it
 *  and/or modify it under the terms of the Q Public License;
 *  either version 1 of the License.
 *
 *  This program is distributed in the hope that it will be
 *  useful, but WITHOUT ANY WARRANTY; without even the implied
 *  warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
 *  PURPOSE. See the Q Public License for more details.
 *
 *  You should have received a copy of the Q Public License
 *  License along with this program;
 *  if not, write to:
 *    Artenum SARL, 101-103 Boulevard Mac Donald,
 *    75019, PARIS, FRANCE, e-mail: contact@artenum.com
 */

/*
 * Created on 2 nov. 2005
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.artenum.cassandra.plugin.dynamic.dataset;

import java.io.File;

/**
 * @author Sebastien
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class Test {
    public static void main(String[] args) {
        File[] fileListToSort = new File[] { // 

                new File("toto123-c.txt"), //
                new File("toto123-b.txt"), //
                new File("toto123-a.txt"), //
                new File("toto125.txt"), //
                new File("toto14.txt"), //
                new File("toto53.txt"), //
                new File("toto43.txt"), //
                new File("toto25.txt"), //
                new File("toto3.txt"), //
                new File("toto1.txt"), //
                new File("toto000.txt")
            };
        FileToolBox.sortFileList(fileListToSort);
        for (int i = 0; i < fileListToSort.length; i++)
            System.out.println(fileListToSort[i]);
    }
}
