com.googlecode.mad.mvntools.common.core
Class FileUtil

java.lang.Object
  extended by com.googlecode.mad.mvntools.common.core.FileUtil
All Implemented Interfaces:
IFileUtil

public final class FileUtil
extends Object
implements IFileUtil

- Apache License 2.0 -
File handling Util

LastChangedBy: $Author: marthaler.worb@gmail.com $
LastChangedDate: $Date: 2010-12-26 20:33:53 +0100 (Sun, 26 Dec 2010) $

Since:
24.12.2010
Version:
$Revision: 60 $
Author:
daniel marthaler

Constructor Summary
FileUtil()
           
 
Method Summary
 void deleteFileOrFolder(String file)
           
 String loadFile(String name)
           
 void replaceFileWithNewContent(String file, String content)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUtil

public FileUtil()
Method Detail

loadFile

public String loadFile(String name)
Specified by:
loadFile in interface IFileUtil

replaceFileWithNewContent

public void replaceFileWithNewContent(String file,
                                      String content)
Specified by:
replaceFileWithNewContent in interface IFileUtil

deleteFileOrFolder

public void deleteFileOrFolder(String file)
Specified by:
deleteFileOrFolder in interface IFileUtil


Copyright © 2010 mad - marthaler daniel. All Rights Reserved.