public final class FileUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
copyFileToFolder(File file,
File folder) |
static String |
read(File file,
String encoding) |
static String |
read(URL location,
Map<String,String> properties) |
static String |
readFirstLines(File file,
int lineCount,
String encoding) |
static String |
remove(String str,
String... chars) |
static void |
write(File file,
String content,
String encoding) |
public static void write(File file, String content, String encoding) throws IOException
IOException
public static String read(URL location, Map<String,String> properties) throws IOException
IOException
public static String read(File file, String encoding) throws IOException
IOException
public static String readFirstLines(File file, int lineCount, String encoding) throws IOException
IOException
public static void copyFileToFolder(File file, File folder) throws IOException
IOException
Copyright © 2008-2012 Mathieu Carbou. All Rights Reserved.