de.uplanet.util.transaction
Class SaferIOOperation

java.lang.Object
  extended by de.uplanet.util.transaction.SaferIOOperation

public final class SaferIOOperation
extends java.lang.Object

Version:
$Revision: 89582 $

Field Summary
static java.lang.String RETRY_INTERVAL
           
 
Constructor Summary
SaferIOOperation()
           
 
Method Summary
static void copyDir(java.io.File p_fileDst, java.io.File p_fileSrc)
           
static void copyFile(java.io.File p_fileDst, java.io.File p_fileSrc)
           
static boolean delete(java.io.File p_fileToDel)
           
static boolean mkdir(java.io.File p_dir)
           
static boolean mkdirs(java.io.File p_dir)
           
static boolean renameTo(java.io.File p_fileSrc, java.io.File p_fileDst)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RETRY_INTERVAL

@SystemProperty(defaultValue="100")
public static final java.lang.String RETRY_INTERVAL
See Also:
Constant Field Values
Constructor Detail

SaferIOOperation

public SaferIOOperation()
Method Detail

renameTo

public static boolean renameTo(java.io.File p_fileSrc,
                               java.io.File p_fileDst)

mkdir

public static boolean mkdir(java.io.File p_dir)

mkdirs

public static boolean mkdirs(java.io.File p_dir)

copyFile

public static void copyFile(java.io.File p_fileDst,
                            java.io.File p_fileSrc)
                     throws java.io.IOException
Throws:
java.io.IOException

copyDir

public static void copyDir(java.io.File p_fileDst,
                           java.io.File p_fileSrc)
                    throws java.io.IOException
Throws:
java.io.IOException

delete

public static boolean delete(java.io.File p_fileToDel)


Last updated: 2011-08-11 10-04
Copyright © 2000-2011 United Planet. All Rights Reserved.