org.drools.core.util
Class FileManager
java.lang.Object
org.drools.core.util.FileManager
public class FileManager
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileManager
public FileManager()
setUp
public void setUp()
tearDown
public void tearDown()
newFile
public File newFile(String name)
newFile
public File newFile(File dir,
String name)
getRootDirectory
public File getRootDirectory()
deleteDir
public void deleteDir(File dir)
deleteFile
public void deleteFile(File file)
write
public void write(File f,
String text)
throws IOException
- Throws:
IOException
write
public File write(String fileName,
String text)
throws IOException
- Throws:
IOException
write
public File write(String path,
String fileName,
String text)
throws IOException
- Throws:
IOException
Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.