de.miethxml.toolkit.io
Class Utilities

java.lang.Object
  extended byde.miethxml.toolkit.io.Utilities

public class Utilities
extends java.lang.Object

Author:
Simon Mieth

Field Summary
static int BUFFER_SIZE
           
 
Constructor Summary
Utilities()
           
 
Method Summary
 void addIOListener(IOListener l)
           
 void copy(java.io.File from, java.io.File to)
           
 void copy(java.io.File from, FileModel to)
          Copy recursive a locale File to the FileModel
static int fileCount(java.lang.String path)
           
 void interrupt()
           
static void removeDirectory(java.lang.String dir)
           
 void removeIOListener(IOListener l)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUFFER_SIZE

public static int BUFFER_SIZE
Constructor Detail

Utilities

public Utilities()
Method Detail

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