org.redhat.vmtruckloader.util
Class FileUtils
java.lang.Object
org.redhat.vmtruckloader.util.FileUtils
public final class FileUtils
- extends Object
- Author:
- Romain Pelisse - romain@redhat.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
constructReaderFromClasspathResource
public static Reader constructReaderFromClasspathResource(String filename)
getFileEncoding
public static String getFileEncoding()
exists
public static boolean exists(String filename)
write
public static void write(String filename,
String text)
read
public static String read(String fileName)
readLineByLine
public static List<String> readLineByLine(File file)
readLineByLine
public static List<String> readLineByLine(String fileName)
delete
public static void delete(String outputFilename)
Copyright © 2013. All Rights Reserved.