com.activequant.utils
Class FileUtils

java.lang.Object
  extended by com.activequant.utils.FileUtils

public class FileUtils
extends Object

Author:
Erik Nijkamp

Constructor Summary
FileUtils()
           
 
Method Summary
static String appendSlash(String dir)
           
static String check(String dir)
           
static void copy(String source, String dest)
           
static boolean deleteDir(File dir)
           
static void mkdir(String dir)
           
static void move(String source, String dest)
           
static String[] readLines(InputStream in)
           
static String[] readLines(String fileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUtils

public FileUtils()
Method Detail

copy

public static void copy(String source,
                        String dest)
                 throws IOException
Throws:
IOException

move

public static void move(String source,
                        String dest)
                 throws IOException
Throws:
IOException

check

public static String check(String dir)

mkdir

public static void mkdir(String dir)

appendSlash

public static String appendSlash(String dir)

readLines

public static String[] readLines(String fileName)
                          throws IOException
Throws:
IOException

readLines

public static String[] readLines(InputStream in)
                          throws IOException
Throws:
IOException

deleteDir

public static boolean deleteDir(File dir)


Copyright © 2012 ActiveQuant GmbH. All Rights Reserved.