de.miethxml.toolkit.io
Class Utilities
java.lang.Object
de.miethxml.toolkit.io.Utilities
- public class Utilities
- extends java.lang.Object
- Author:
- Simon Mieth
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BUFFER_SIZE
public static int BUFFER_SIZE
Utilities
public Utilities()
removeDirectory
public static void removeDirectory(java.lang.String dir)
fileCount
public static int fileCount(java.lang.String path)
copy
public void copy(java.io.File from,
java.io.File to)
addIOListener
public void addIOListener(IOListener l)
removeIOListener
public void removeIOListener(IOListener l)
interrupt
public void interrupt()
copy
public void copy(java.io.File from,
FileModel to)
throws java.lang.Exception
- Copy recursive a locale File to the FileModel
- Parameters:
from - to -
- Throws:
java.lang.Exception