Package com.kissme.lang.file

Examples of com.kissme.lang.file.DeleteFileCommand


  /**
   *
   * @param file
   */
  public static void delete(File file) {
    new DeleteFileCommand(file).execute();
  }
View Full Code Here


   */
  public static void move(File source, File target) {

    new FileCommandInvoker().command(new MakeFileCommand(target))
                .command(new CopyFileCommand(source, target))
                .command(new DeleteFileCommand(source))
                .invoke();
  }
View Full Code Here

TOP

Related Classes of com.kissme.lang.file.DeleteFileCommand

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.