org.codehaus.aspectwerkz.compiler
Class Utility

java.lang.Object
  extended by org.codehaus.aspectwerkz.compiler.Utility

public class Utility
extends Object

Utility class providing file manipulation facilities.

This implementation uses Ant task programmaticaly.

Author:
Alexandre Vasseur

Constructor Summary
Utility()
          Constructs a new project and attach simple logger
 
Method Summary
 void backupFile(File source, File dest)
          Copy a file or directory recursively
 void deleteDir(File dir)
          Delete recursively a directory and the directory itself
 void log(String msg)
           
 void setVerbose(boolean verbose)
          Set verbosity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utility

public Utility()
Constructs a new project and attach simple logger

Method Detail

setVerbose

public void setVerbose(boolean verbose)
Set verbosity


deleteDir

public void deleteDir(File dir)
Delete recursively a directory and the directory itself


backupFile

public void backupFile(File source,
                       File dest)
Copy a file or directory recursively


log

public void log(String msg)


Copyright © 2002-2005 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.