org.codehaus.aspectwerkz.compiler
Class Utility

java.lang.Object
  extended byorg.codehaus.aspectwerkz.compiler.Utility

public class Utility
extends java.lang.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(java.io.File source, java.io.File dest)
          Copy a file or directory recursively
 void deleteDir(java.io.File dir)
          Delete recursively a directory and the directory itself
 void log(java.lang.String msg)
           
 void setVerbose()
          Set verbosity
 
Methods inherited from class java.lang.Object
equals, 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()
Set verbosity


deleteDir

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


backupFile

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


log

public void log(java.lang.String msg)


Copyright (c) 2002-2004 The AspectWerkz Team. All Rights Reserved.