Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.googlecode.mad.mvntools.settingsutil.filestore;


- Apache License 2.0 -
Mojo to delete the local files

LastChangedBy: $Author: marthaler.worb@gmail.com $
LastChangedDate: $Date: 2010-12-29 14:14:06 +0100 (Mi, 29 Dez 2010) $

Author(s):
daniel marthaler
Version:
$Revision: 21 $
Since:
24.12.2010
Goal:
delete
public class LocalFileDeleter extends AbstractFilestore {
    
    public LocalFileDeleter() {
        super();
        this. = "SettingsUtil:delete";
    }
    
    @Override
    protected void myExecute() {
        
        for (final String string : this.) {
            this..deleteFileOrFolder(this.getRootPath() + this. + string);
        }
        for (final String string : this.) {
            this..deleteFileOrFolder(this.getRootPath() + this. + string);
        }
    }
New to GrepCode? Check out our FAQ X